Interface WeldModule.PostContextRegistrationContext

  • Enclosing interface:
    WeldModule

    public static interface WeldModule.PostContextRegistrationContext
    Context object for the postContextRegistration phase
    • 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