public ContainerSystem getContainerSystem() {
return assembler.getContainerSystem();
}
public Container createContainer(Class<? extends ContainerInfo> type, String serviceId, Properties declaredProperties, String providerId) throws OpenEJBException {
ContainerInfo containerInfo = configurationFactory.configureService(type, serviceId, declaredProperties, providerId, "Container");
assembler.createContainer(containerInfo);
Container container = assembler.getContainerSystem().getContainer(serviceId);
return container;
}