Class NtaskService


  • public class NtaskService
    extends Object
    • Constructor Detail

      • NtaskService

        public NtaskService()
    • Method Detail

      • activate

        protected void activate​(org.osgi.service.component.ComponentContext context)
      • deactivate

        protected void deactivate​(org.osgi.service.component.ComponentContext context)
      • setTaskService

        protected void setTaskService​(org.wso2.carbon.ntask.core.service.TaskService taskService)
      • unsetTaskService

        protected void unsetTaskService​(org.wso2.carbon.ntask.core.service.TaskService taskService)
      • setConfigurationContextService

        protected void setConfigurationContextService​(org.wso2.carbon.utils.ConfigurationContextService contextService)
      • unsetConfigurationContextService

        protected void unsetConfigurationContextService​(org.wso2.carbon.utils.ConfigurationContextService contextService)
      • getCcServiceInstance

        public static org.wso2.carbon.utils.ConfigurationContextService getCcServiceInstance()
      • getTaskService

        public static org.wso2.carbon.ntask.core.service.TaskService getTaskService()
      • setRealmService

        protected void setRealmService​(org.wso2.carbon.user.core.service.RealmService realmSrv)
      • unsetRealmService

        protected void unsetRealmService​(org.wso2.carbon.user.core.service.RealmService realmService)
      • loadTenant

        public static void loadTenant​(int tenantId)
        Load the tenants if there are scheduled tasks