Interface WeldModule.PostContextRegistrationContext

Enclosing interface:
WeldModule

public static interface WeldModule.PostContextRegistrationContext
Context object for the postContextRegistration phase
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addContext(ContextHolder<? extends jakarta.enterprise.context.spi.Context> context)
    Register an additional context.
    Returns the container id of the running container
    org.jboss.weld.bootstrap.api.ServiceRegistry
    An 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

      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