ComponentMBeanImpl lcc = container.getComponent(componentName);
ServiceUnitManager sum = lcc.getServiceUnitManager();
ClassLoader cl = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(lcc.getComponent().getClass().getClassLoader());
String resultMsg = sum.deploy(suName, targetDir.getAbsolutePath());
success = getComponentTaskResult(resultMsg, componentName, componentResults, true);
} finally {
Thread.currentThread().setContextClassLoader(cl);
}
// TODO: need to register the SU somewhere to keep track of its state