Search in sources :

Example 1 with WeldBootstrap

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);
}
Also used : BeanManagerImpl(org.jboss.weld.manager.BeanManagerImpl) WeldBootstrap(org.jboss.weld.bootstrap.WeldBootstrap) BeanManager(javax.enterprise.inject.spi.BeanManager)

Aggregations

BeanManager (javax.enterprise.inject.spi.BeanManager)1 WeldBootstrap (org.jboss.weld.bootstrap.WeldBootstrap)1 BeanManagerImpl (org.jboss.weld.manager.BeanManagerImpl)1