Package org.jboss.weld.module
Interface WeldModule.PostContextRegistrationContext
-
- Enclosing interface:
- WeldModule
public static interface WeldModule.PostContextRegistrationContext
Context object for thepostContextRegistration
phase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addContext(ContextHolder<? extends jakarta.enterprise.context.spi.Context> context)
Register an additional context.String
getContextId()
Returns the container id of the running containerorg.jboss.weld.bootstrap.api.ServiceRegistry
getServices()
An immutable view on per-deployment services
-
-
-
Method Detail
-
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
void addContext(ContextHolder<? extends jakarta.enterprise.context.spi.Context> context)
Register an additional context. A built-in bean is automatically registered for each context.- Parameters:
context
- CDI context
-
-