Class PolicyCheckRunner

java.lang.Object
org.opencastproject.lifecyclemanagement.impl.PolicyCheckRunner

public class PolicyCheckRunner extends Object
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 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

      protected ScheduledExecutorService 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()