Package org.jboss.weld.module
Interface WeldModule.PostServiceRegistrationContext
-
- Enclosing interface:
- WeldModule
public static interface WeldModule.PostServiceRegistrationContext
Context object for thepostServiceRegistration
phase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContextId()
Returns the container id of the running containerorg.jboss.weld.bootstrap.api.ServiceRegistry
getServices()
A mutable service registry.void
registerPlugableValidator(PlugableValidator validator)
Registers an additional validator to be used for bean validation
-
-
-
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()
A mutable service registry. Existing services may be replaced and additional services may be registered by a module.- Returns:
- services
-
registerPlugableValidator
void registerPlugableValidator(PlugableValidator validator)
Registers an additional validator to be used for bean validation- Parameters:
validator
-
-
-