}
}
Thread.currentThread().setContextClassLoader(containerClassLoader);
EngineInfo info = new EngineInfo(provider, sniffer, containerClassLoader);
ContainerRegistry registry = habitat.getComponent(ContainerRegistry.class);
registry.addContainer(name, info);
containers.add(info);
} catch (ComponentException e) {
logger.log(Level.SEVERE, "Cannot create or inject Container", e);
return null;
} finally {