Package org.jboss.weld.environment
Interface ContainerInstance
-
public interface ContainerInstance
General marker interface for a running Weld container.- Author:
- Jozef Hartinger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.enterprise.inject.spi.BeanManager
getBeanManager()
Returns a BeanManager used by this container.String
getId()
The identifier of the containervoid
shutdown()
Shuts down the container.
-
-
-
Method Detail
-
getBeanManager
javax.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.
-
-