public class NtaskService extends Object
Constructor and Description |
---|
NtaskService() |
Modifier and Type | Method and 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 tasks
|
protected 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) |
protected void activate(org.osgi.service.component.ComponentContext context)
protected void deactivate(org.osgi.service.component.ComponentContext context)
protected void setTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
protected void unsetTaskService(org.wso2.carbon.ntask.core.service.TaskService taskService)
protected void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
protected void unsetConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
public static org.wso2.carbon.utils.ConfigurationContextService getCcServiceInstance()
public static void addObserver(TaskServiceObserver o)
public static org.wso2.carbon.ntask.core.service.TaskService getTaskService()
protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmSrv)
protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
public static void loadTenant(int tenantId)
Copyright © 2017 WSO2. All rights reserved.