Interface WeldModule.PreBeanRegistrationContext

  • Enclosing interface:
    WeldModule

    public static interface WeldModule.PreBeanRegistrationContext
    Context object for the preBeanRegistration phase
    • Method Detail

      • getEnvironment

        org.jboss.weld.bootstrap.api.Environment getEnvironment()
        The environment in which Weld is run.
        Returns:
        the environment
      • getBeanDeploymentArchive

        org.jboss.weld.bootstrap.spi.BeanDeploymentArchive getBeanDeploymentArchive()
        Returns BeanDeploymentArchive represented by this bean archive deployment.
        Returns:
        bda
      • registerBean

        void registerBean​(AbstractBuiltInBean<?> bean)
        Register an additional built-in bean with the given bean archive deployment.
        Parameters:
        additional - built-in bean