Class LifeCycleTaskRunner
java.lang.Object
org.opencastproject.lifecyclemanagement.impl.LifeCycleTaskRunner
Periodically checks on the tasks in the database.
If there are scheduled tasks this attempts to run them.
If there are running tasks this attempts to check if their status should be changed
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AssetManagerprotected LifeCycleServiceprotected OrganizationDirectoryServiceprotected ScheduledExecutorServiceThe thread pool to use for dispatching queued jobs and checking on phantom services.protected SecurityServiceprotected WorkflowService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) voidvoidmodified(org.osgi.service.component.ComponentContext cc) voidsetAssetManager(AssetManager assetManager) voidsetIndexService(IndexService indexService) voidsetLifeCycleService(LifeCycleService lifeCycleService) voidvoidsetSecurityService(SecurityService securityService) voidsetWorkflowService(WorkflowService workflowService) voidupdated(Dictionary<String, ?> properties)
-
Field Details
-
lifeCycleService
-
workflowService
-
assetManager
-
securityService
-
organizationDirectoryService
-
scheduledExecutor
The thread pool to use for dispatching queued jobs and checking on phantom services.
-
-
Constructor Details
-
LifeCycleTaskRunner
public LifeCycleTaskRunner()
-
-
Method Details
-
setLifeCycleService
-
setWorkflowService
-
setAssetManager
-
setSecurityService
-
setOrganizationDirectoryService
-
setIndexService
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) throws org.osgi.service.cm.ConfigurationException - Throws:
org.osgi.service.cm.ConfigurationException
-
modified
public void modified(org.osgi.service.component.ComponentContext cc) throws org.osgi.service.cm.ConfigurationException - Throws:
org.osgi.service.cm.ConfigurationException
-
updated
public void updated(Dictionary<String, ?> properties) throws org.osgi.service.cm.ConfigurationException- Throws:
org.osgi.service.cm.ConfigurationException
-
deactivate
public void deactivate()
-