* @throws DeploymentException
*/
public void init() throws DeploymentException {
LOGGER.info("Initializing service unit: {}", getName());
checkComponentStarted("init");
final ServiceUnitManager sum = getServiceUnitManager();
final File path = getServiceUnitRootPath();
new TimedOutExecutor(getComponentClassLoader(), "init " + getName(),
new Callable<Object>() {
public Object call() throws Exception {
sum.init(getName(), path.getAbsolutePath());
return null;
}
}).execute(getDeploymentTimeout());
currentState = STOPPED;
}