Interface WeldModule.PreBeanRegistrationContext

Enclosing interface:
WeldModule

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

    Modifier and Type
    Method
    Description
    org.jboss.weld.bootstrap.spi.BeanDeploymentArchive
    Returns BeanDeploymentArchive represented by this bean archive deployment.
    Returns the BeanManagerImpl for the given bean archive deployment.
    org.jboss.weld.bootstrap.api.Environment
    The environment in which Weld is run.
    void
    Register an additional built-in bean with the given bean archive deployment.
  • Method Details

    • 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
    • getBeanManager

      BeanManagerImpl getBeanManager()
      Returns the BeanManagerImpl for the given bean archive deployment.
      Returns:
      bean manager
    • registerBean

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