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);