Package org.apache.synapse.task.service

Examples of org.apache.synapse.task.service.TaskManagementService


     * @param taskDescription TaskDescription instance
     * @param className       Name of the class of  TaskManagementService implementer
     */
    public void addTaskDescription(TaskDescription taskDescription, String className) {

        TaskManagementService managementService = getTaskManagementServiceImplementer(className);
        if (managementService != null) {
            managementService.addTaskDescription(taskDescription);
        }
    }
View Full Code Here


     * @param name      Name of the TaskDescription instance  to be deleted
     * @param className Name of the class of  TaskManagementService implementer
     */
    public void deleteTaskDescription(String name, String className) {

        TaskManagementService managementService = getTaskManagementServiceImplementer(className);
        if (managementService != null) {
            managementService.deleteTaskDescription(name);
        }
    }
View Full Code Here

     * @param taskDescription TaskDescription instance
     * @param className       Name of the class of  TaskManagementService implementer
     */
    public void editTaskDescription(TaskDescription taskDescription, String className) {

        TaskManagementService managementService = getTaskManagementServiceImplementer(className);
        if (managementService != null) {
            managementService.editTaskDescription(taskDescription);
        }
    }
View Full Code Here

     * @param className Name of the class of  TaskManagementService implementer
     * @return taskDescription TaskDescription instance
     */
    public TaskDescription getTaskDescription(String name, String className) {

        TaskManagementService managementService = getTaskManagementServiceImplementer(className);
        if (managementService != null) {
            return managementService.getTaskDescription(name);
        }
        return null;
    }
View Full Code Here

     * @param className Name of the class of  TaskManagementService implementer
     * @return Ture if there is a task with given name
     */
    public boolean isContains(String name, String className) {

        TaskManagementService managementService = getTaskManagementServiceImplementer(className);
        return managementService != null && managementService.isContains(name);
    }
View Full Code Here

    }

    public List<String> getPropertyNames(String taskClass, String className) {


        TaskManagementService managementService = getTaskManagementServiceImplementer(className);
        if (managementService != null) {
            return managementService.getPropertyNames(taskClass);
        }

        if (log.isDebugEnabled()) {
            log.debug("Cannot find a property name list of class : " + taskClass);
        }
View Full Code Here

TOP

Related Classes of org.apache.synapse.task.service.TaskManagementService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.