Package org.jboss.weld.module
Interface WeldModule.PostContextRegistrationContext
-
- Enclosing interface:
- WeldModule
public static interface WeldModule.PostContextRegistrationContextContext object for thepostContextRegistrationphase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddContext(ContextHolder<? extends Context> context)Register an additional context.StringgetContextId()Returns the container id of the running containerorg.jboss.weld.bootstrap.api.ServiceRegistrygetServices()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 Context> context)
Register an additional context. A built-in bean is automatically registered for each context.- Parameters:
context- CDI context
-
-