Package org.jboss.weld.module
Interface WeldModule.PreBeanRegistrationContext
- Enclosing interface:
- WeldModule
public static interface WeldModule.PreBeanRegistrationContext
Context object for the
preBeanRegistration phase-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.weld.bootstrap.spi.BeanDeploymentArchiveReturnsBeanDeploymentArchiverepresented by this bean archive deployment.Returns theBeanManagerImplfor the given bean archive deployment.org.jboss.weld.bootstrap.api.EnvironmentThe environment in which Weld is run.voidregisterBean(AbstractBuiltInBean<?> bean) 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()ReturnsBeanDeploymentArchiverepresented by this bean archive deployment.- Returns:
- bda
-
getBeanManager
BeanManagerImpl getBeanManager()Returns theBeanManagerImplfor the given bean archive deployment.- Returns:
- bean manager
-
registerBean
Register an additional built-in bean with the given bean archive deployment.- Parameters:
additional- built-in bean
-