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 void
activate(org.osgi.service.component.ComponentContext context)
static void
addObserver(TaskServiceObserver o)
protected void
deactivate(org.osgi.service.component.ComponentContext context)
static org.wso2.carbon.utils.ConfigurationContextService
getCcServiceInstance()
static org.wso2.carbon.ntask.core.service.TaskService
getTaskService()
static void
loadTenant(int tenantId)
Load the tenants if there are scheduled tasksprotected void
setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
protected void
setRealmService(org.wso2.carbon.user.core.service.RealmService realmSrv)
protected void
setTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
protected void
unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
protected void
unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
protected void
unsetTaskService(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
-
-