Package org.jboss.weld.module
Interface WeldModule.PostContextRegistrationContext
- Enclosing interface:
- WeldModule
public static interface WeldModule.PostContextRegistrationContext
Context object for the
postContextRegistration phase-
Method Summary
Modifier and TypeMethodDescriptionvoidaddContext(ContextHolder<? extends jakarta.enterprise.context.spi.Context> context) Register an additional context.Returns the container id of the running containerorg.jboss.weld.bootstrap.api.ServiceRegistryAn immutable view on per-deployment services
-
Method Details
-
getContextId
String getContextId()Returns the container id of the running container- Returns:
- the container id
-
getServices
org.jboss.weld.bootstrap.api.ServiceRegistry getServices()An immutable view on per-deployment services- Returns:
- services
-
addContext
Register an additional context. A built-in bean is automatically registered for each context.- Parameters:
context- CDI context
-