Class OaiPmhUpdatedEventHandler
java.lang.Object
org.opencastproject.event.handler.OaiPmhUpdatedEventHandler
- All Implemented Interfaces:
org.osgi.service.cm.ManagedService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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(AssetManagerItem.TakeSnapshot snapshotItem) voidsetAssetManager(AssetManager assetManager) voidsetOaiPmhPersistence(OaiPmhDatabase oaiPmhPersistence) voidsetOaiPmhPublicationService(OaiPmhPublicationService oaiPmhPublicationService) voidsetSecurityService(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
The 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
-
setAssetManager
-
setOaiPmhPersistence
-
setOaiPmhPublicationService
-
setSecurityService
-