Class PolicyCheckRunner
java.lang.Object
org.opencastproject.lifecyclemanagement.impl.PolicyCheckRunner
Periodically checks on the policies in the database.
If policy timing is met, gets a list of entities based on policy filters and creates life cycle tasks for them.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LifeCycleServiceprotected OrganizationDirectoryServiceprotected ScheduledExecutorServiceThe thread pool to use for dispatching queued jobs and checking on phantom services.protected SecurityService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.framework.BundleContext ctx) voidvoidsetLifeCycleService(LifeCycleService lifeCycleService) voidvoidsetSecurityService(SecurityService securityService)
-
Field Details
-
lifeCycleService
-
securityService
-
organizationDirectoryService
-
scheduledExecutor
The thread pool to use for dispatching queued jobs and checking on phantom services.
-
-
Constructor Details
-
PolicyCheckRunner
public PolicyCheckRunner()
-
-
Method Details
-
setLifeCycleService
-
setSecurityService
-
setOrganizationDirectoryService
-
activate
public void activate(org.osgi.framework.BundleContext ctx) -
deactivate
public void deactivate()
-