Package org.xmatthew.spy2servers.thread

Examples of org.xmatthew.spy2servers.thread.Task


    private void startComponent(Component component) {
        Assert.notNull(component, "component is null");
        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);
View Full Code Here

TOP

Related Classes of org.xmatthew.spy2servers.thread.Task

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.