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 org.opencastproject.lifecyclemanagement.api.LifeCycleServiceprotected org.opencastproject.security.api.OrganizationDirectoryServiceprotected ScheduledExecutorServiceThe thread pool to use for dispatching queued jobs and checking on phantom services.protected org.opencastproject.security.api.SecurityService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.framework.BundleContext ctx) voidvoidsetLifeCycleService(org.opencastproject.lifecyclemanagement.api.LifeCycleService lifeCycleService) voidsetOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService orgDirServ) voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService)
-
Field Details
-
lifeCycleService
protected org.opencastproject.lifecyclemanagement.api.LifeCycleService lifeCycleService -
securityService
protected org.opencastproject.security.api.SecurityService securityService -
organizationDirectoryService
protected org.opencastproject.security.api.OrganizationDirectoryService organizationDirectoryService -
scheduledExecutor
The thread pool to use for dispatching queued jobs and checking on phantom services.
-
-
Constructor Details
-
PolicyCheckRunner
public PolicyCheckRunner()
-
-
Method Details
-
setLifeCycleService
public void setLifeCycleService(org.opencastproject.lifecyclemanagement.api.LifeCycleService lifeCycleService) -
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService securityService) -
setOrganizationDirectoryService
public void setOrganizationDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService orgDirServ) -
activate
public void activate(org.osgi.framework.BundleContext ctx) -
deactivate
public void deactivate()
-