Class TerminationStateServiceImpl

java.lang.Object
org.opencastproject.terminationstate.api.AbstractJobTerminationStateService
org.opencastproject.terminationstate.impl.TerminationStateServiceImpl
All Implemented Interfaces:
org.opencastproject.terminationstate.api.TerminationStateService

public final class TerminationStateServiceImpl extends org.opencastproject.terminationstate.api.AbstractJobTerminationStateService
  • Field Details

  • Constructor Details

    • TerminationStateServiceImpl

      public TerminationStateServiceImpl()
  • Method Details

    • activate

      protected void activate(org.osgi.service.component.ComponentContext componentContext)
    • configure

      protected void configure(Dictionary config) throws org.osgi.service.cm.ConfigurationException
      Throws:
      org.osgi.service.cm.ConfigurationException
    • setState

      public void setState(org.opencastproject.terminationstate.api.TerminationStateService.TerminationState state)
      Specified by:
      setState in interface org.opencastproject.terminationstate.api.TerminationStateService
      Overrides:
      setState in class org.opencastproject.terminationstate.api.AbstractJobTerminationStateService
    • startJobPolling

      protected void startJobPolling()
    • stopJobPolling

      protected void stopJobPolling()
    • deactivate

      public void deactivate()
      OSGI deactivate callback
    • setScheduler

      protected void setScheduler(org.quartz.Scheduler scheduler)
      Methods below are used by test class
    • setServiceRegistry

      public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
      Overrides:
      setServiceRegistry in class org.opencastproject.terminationstate.api.AbstractJobTerminationStateService