Examples of DedicatedTaskRunner


Examples of org.xmatthew.spy2servers.thread.DedicatedTaskRunner

        String componentName = ComponentUtils.getComponentName(component);
        try {
            Task task = new ComponentInvokeTask(component);
            Date startupDate = new Date();
            component.setStartupDate(startupDate);
            TaskRunner taskRunner = new DedicatedTaskRunner(task, componentName);
            LOGGER.info("plug component " + componentName);
            tasks.add(taskRunner);
        } catch (Exception e) {
            LOGGER.error("plug component " + componentName + " failed");
            LOGGER.error(e.getMessage(), e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.