Class NtaskService
java.lang.Object
org.wso2.carbon.mediation.ntask.internal.NtaskService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) static voidprotected voiddeactivate(org.osgi.service.component.ComponentContext context) static org.wso2.carbon.utils.ConfigurationContextServicestatic org.wso2.carbon.ntask.core.service.TaskServicestatic voidloadTenant(int tenantId) Load the tenants if there are scheduled tasksprotected voidsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) protected voidsetRealmService(org.wso2.carbon.user.core.service.RealmService realmSrv) protected voidsetTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService) protected voidunsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService) protected voidunsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService) protected voidunsetTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
-
Constructor Details
-
NtaskService
public NtaskService()
-
-
Method Details
-
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() -
addObserver
-
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
-