}
ClassLoader cl = unit.getClassLoader();
container.setInstanceCache(createInstanceCache(conf, cl));
// No real instance pool, use the shadow class
StatefulSessionInstancePool ip = new StatefulSessionInstancePool();
ip.importXml(conf.getContainerPoolConf());
container.setInstancePool(ip);
// Set persistence manager
container.setPersistenceManager((StatefulSessionPersistenceManager) cl.loadClass(conf.getPersistenceManager())
.newInstance());
// Set the bean Lock Manager