use of org.jboss.weld.bootstrap.WeldBootstrap in project aries by apache.
the class Phase_Publish method open.
@Override
public void open() {
_bc.fire(CdiEvent.Type.SATISFIED);
BeanManagerImpl beanManagerImpl = _bc.getBeanManagerImpl();
processConfigurationDependencies(beanManagerImpl);
processReferenceDependencies(beanManagerImpl);
WeldBootstrap bootstrap = _bc.getBootstrap();
bootstrap.validateBeans();
bootstrap.endInitialization();
processRequirementDefinedServices(beanManagerImpl);
processServiceDeclarations();
_beanManagerRegistration = _bc.getBundleContext().registerService(BeanManager.class, beanManagerImpl, null);
_bc.fire(CdiEvent.Type.CREATED);
}
Aggregations