Package com.arjuna.services.framework.task

Examples of com.arjuna.services.framework.task.TaskManager


        */
    }

    private void TaskManagerInitialisation()
    {
        final TaskManager taskManager = TaskManager.getManager() ;
        taskManager.setMinimumWorkerCount(taskManagerMinWorkerCount) ;
        taskManager.setMaximumWorkerCount(taskManagerMaxWorkerCount) ;
    }
View Full Code Here


    {
        final ServletContext servletContext = servletContextEvent.getServletContext() ;
        final String minWorkerCountParam = servletContext.getInitParameter("TaskManager.minWorkerCount") ;
        final String maxWorkerCountParam = servletContext.getInitParameter("TaskManager.maxWorkerCount") ;
       
        final TaskManager taskManager = TaskManager.getManager() ;
        if (minWorkerCountParam != null)
        {
            try
            {
                final int minWorkerCount = Integer.parseInt(minWorkerCountParam) ;
                taskManager.setMinimumWorkerCount(minWorkerCount) ;
            }
            catch (final NumberFormatException nfe)
            {
                WSCLogger.arjLoggerI18N.debug("com.arjuna.services.framework.admin.TaskManagerInitialisation_1") ;
            }
        }
        if (maxWorkerCountParam != null)
        {
            try
            {
                final int maxWorkerCount = Integer.parseInt(maxWorkerCountParam) ;
                taskManager.setMaximumWorkerCount(maxWorkerCount) ;
            }
            catch (final NumberFormatException nfe)
            {
                WSCLogger.arjLoggerI18N.debug("com.arjuna.services.framework.admin.TaskManagerInitialisation_2") ;
            }
View Full Code Here

    {
        final ServletContext servletContext = servletContextEvent.getServletContext() ;
        final String minWorkerCountParam = servletContext.getInitParameter("TaskManager.minWorkerCount") ;
        final String maxWorkerCountParam = servletContext.getInitParameter("TaskManager.maxWorkerCount") ;
       
        final TaskManager taskManager = TaskManager.getManager() ;
        if (minWorkerCountParam != null)
        {
            try
            {
                final int minWorkerCount = Integer.parseInt(minWorkerCountParam) ;
                taskManager.setMinimumWorkerCount(minWorkerCount) ;
            }
            catch (final NumberFormatException nfe)
            {
                WSCLogger.arjLoggerI18N.debug("com.arjuna.services.framework.admin.TaskManagerInitialisation_1") ;
            }
        }
        if (maxWorkerCountParam != null)
        {
            try
            {
                final int maxWorkerCount = Integer.parseInt(maxWorkerCountParam) ;
                taskManager.setMaximumWorkerCount(maxWorkerCount) ;
            }
            catch (final NumberFormatException nfe)
            {
                WSCLogger.arjLoggerI18N.debug("com.arjuna.services.framework.admin.TaskManagerInitialisation_2") ;
            }
View Full Code Here

TOP

Related Classes of com.arjuna.services.framework.task.TaskManager

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.