Class NtaskService
- java.lang.Object
-
- org.wso2.carbon.mediation.ntask.internal.NtaskService
-
public class NtaskService extends Object
-
-
Constructor Summary
Constructors Constructor Description NtaskService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext context)static voidaddObserver(TaskServiceObserver o)protected voiddeactivate(org.osgi.service.component.ComponentContext context)static org.wso2.carbon.utils.ConfigurationContextServicegetCcServiceInstance()static org.wso2.carbon.ntask.core.service.TaskServicegetTaskService()static 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)
-
-
-
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()
-
addObserver
public static void addObserver(TaskServiceObserver o)
-
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
-
-