Class OaiPmhUpdatedEventHandler
java.lang.Object
org.opencastproject.event.handler.OaiPmhUpdatedEventHandler
- All Implemented Interfaces:
org.osgi.service.cm.ManagedService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.opencastproject.assetmanager.api.AssetManagerThe asset managerprotected static final Stringprotected static final Stringprotected static final Stringprotected static final org.slf4j.LoggerThe loggerprotected StringThe system account to use for running asynchronous events -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext bundleContext) OSGI callback for component activation.voidhandleEvent(org.opencastproject.message.broker.api.assetmanager.AssetManagerItem.TakeSnapshot snapshotItem) voidsetAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager) voidsetOaiPmhPersistence(org.opencastproject.oaipmh.persistence.OaiPmhDatabase oaiPmhPersistence) voidsetOaiPmhPublicationService(org.opencastproject.publication.api.OaiPmhPublicationService oaiPmhPublicationService) voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) voidupdated(Dictionary<String, ?> dictionary)
-
Field Details
-
logger
protected static final org.slf4j.Logger loggerThe logger -
CFG_PROPAGATE_EPISODE
- See Also:
-
CFG_FLAVORS
- See Also:
-
CFG_TAGS
- See Also:
-
systemAccount
The system account to use for running asynchronous events -
assetManager
protected org.opencastproject.assetmanager.api.AssetManager assetManagerThe asset manager
-
-
Constructor Details
-
OaiPmhUpdatedEventHandler
public OaiPmhUpdatedEventHandler()
-
-
Method Details
-
activate
protected void activate(org.osgi.framework.BundleContext bundleContext) OSGI callback for component activation.- Parameters:
bundleContext- the OSGI bundle context
-
updated
public void updated(Dictionary<String, ?> dictionary) throws org.osgi.service.cm.ConfigurationException- Specified by:
updatedin interfaceorg.osgi.service.cm.ManagedService- Throws:
org.osgi.service.cm.ConfigurationException
-
handleEvent
public void handleEvent(org.opencastproject.message.broker.api.assetmanager.AssetManagerItem.TakeSnapshot snapshotItem) -
setAssetManager
public void setAssetManager(org.opencastproject.assetmanager.api.AssetManager assetManager) -
setOaiPmhPersistence
public void setOaiPmhPersistence(org.opencastproject.oaipmh.persistence.OaiPmhDatabase oaiPmhPersistence) -
setOaiPmhPublicationService
public void setOaiPmhPublicationService(org.opencastproject.publication.api.OaiPmhPublicationService oaiPmhPublicationService) -
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
-