Class OaiPmhUpdatedEventHandler

java.lang.Object
org.opencastproject.event.handler.OaiPmhUpdatedEventHandler
All Implemented Interfaces:
org.osgi.service.cm.ManagedService

public class OaiPmhUpdatedEventHandler extends Object implements org.osgi.service.cm.ManagedService
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
      The logger
    • CFG_PROPAGATE_EPISODE

      protected static final String CFG_PROPAGATE_EPISODE
      See Also:
    • CFG_FLAVORS

      protected static final String CFG_FLAVORS
      See Also:
    • CFG_TAGS

      protected static final String CFG_TAGS
      See Also:
    • systemAccount

      protected String systemAccount
      The system account to use for running asynchronous events
    • assetManager

      protected org.opencastproject.assetmanager.api.AssetManager 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:
      updated in interface org.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)