Interface WeldModule.PostServiceRegistrationContext

Enclosing interface:
WeldModule

public static interface WeldModule.PostServiceRegistrationContext
Context object for the postServiceRegistration phase
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the container id of the running container
    org.jboss.weld.bootstrap.api.ServiceRegistry
    A mutable service registry.
    void
    Registers an additional validator to be used for bean validation
  • 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()
      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 -