container = null;
}
}
private JBIContainer createContainer() throws GBeanNotFoundException {
JBIContainer container = new JBIContainer();
container.setUseShutdownHook(false);
container.setName(name);
container.setRootDir(directory);
container.setUseMBeanServer(true);
TransactionManager tm = getTransactionManager();
container.setTransactionManager(tm);
container.setMonitorInstallationDirectory(false);
container.setMonitorDeploymentDirectory(false);
container.setPersistent(persistent);
if (flows != null) {
container.setFlows(getFlows());
}
return container;
}