Package org.wso2.carbon.task
Class TaskManagementServiceHandler
java.lang.Object
org.wso2.carbon.task.ServiceHanlder
org.wso2.carbon.task.TaskManagementServiceHandler
ServiceHandler for the TaskManagement service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTaskDescription(org.apache.synapse.task.TaskDescription taskDescription, String className) Adding a TaskDescription Delegates adding responsibility to underlying each 'TaskManagementService' servicevoiddeleteTaskDescription(String name, String className) Deleting a TaskDescription Delegates deleting responsibility to each 'TaskManagementService' servicevoideditTaskDescription(org.apache.synapse.task.TaskDescription taskDescription, String className) Editing a TaskDescription Delegates Editing responsibility to each 'TaskManagementService' servicegetPropertyNames(String taskClass, String className) org.apache.synapse.task.TaskDescriptiongetTaskDescription(String name, String className) Looking up a TaskDescription Delegates Looking up responsibility to each 'TaskManagementService' serviceorg.apache.synapse.task.service.TaskManagementServicegetTaskManagementServiceImplementer(String className) booleanisContains(String name, String className) Explicit check for a TaskDescription with a particular name Delegates responsibility to each 'TaskManagementService' service until any one find a TaskDescription with the given nameMethods inherited from class org.wso2.carbon.task.ServiceHanlder
addService, assertEmpty, getServices, removeService
-
Constructor Details
-
TaskManagementServiceHandler
public TaskManagementServiceHandler()
-
-
Method Details
-
addTaskDescription
public void addTaskDescription(org.apache.synapse.task.TaskDescription taskDescription, String className) Adding a TaskDescription Delegates adding responsibility to underlying each 'TaskManagementService' service- Parameters:
taskDescription- TaskDescription instanceclassName- Name of the class of TaskManagementService implementer
-
deleteTaskDescription
Deleting a TaskDescription Delegates deleting responsibility to each 'TaskManagementService' service- Parameters:
name- Name of the TaskDescription instance to be deletedclassName- Name of the class of TaskManagementService implementer
-
editTaskDescription
public void editTaskDescription(org.apache.synapse.task.TaskDescription taskDescription, String className) Editing a TaskDescription Delegates Editing responsibility to each 'TaskManagementService' service- Parameters:
taskDescription- TaskDescription instanceclassName- Name of the class of TaskManagementService implementer
-
getTaskDescription
Looking up a TaskDescription Delegates Looking up responsibility to each 'TaskManagementService' service- Parameters:
name- Name of the TaskDescription to be returnedclassName- Name of the class of TaskManagementService implementer- Returns:
- taskDescription TaskDescription instance
-
isContains
Explicit check for a TaskDescription with a particular name Delegates responsibility to each 'TaskManagementService' service until any one find a TaskDescription with the given name- Parameters:
name- Name of the TaskDescriptionclassName- Name of the class of TaskManagementService implementer- Returns:
- Ture if there is a task with given name
-
getPropertyNames
-
getTaskManagementServiceImplementer
public org.apache.synapse.task.service.TaskManagementService getTaskManagementServiceImplementer(String className)
-