Package org.jboss.weld.environment
Interface ContainerInstance
public interface ContainerInstance
General marker interface for a running Weld container.
- Author:
- Jozef Hartinger
-
Method Details
-
getBeanManager
jakarta.enterprise.inject.spi.BeanManager getBeanManager()Returns a BeanManager used by this container. If the container uses multiple BeanManager instances it is not defined which of them is returned.- Returns:
- beanManager
-
getId
String getId()The identifier of the container- Returns:
- identifier of the container
-
shutdown
void shutdown()Shuts down the container. This action may not be available in every environment.
-