Search in sources :

Example 6 with BeanManagerImpl

use of org.jboss.weld.manager.BeanManagerImpl 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

BeanManagerImpl (org.jboss.weld.manager.BeanManagerImpl)6 BeanManagerProxy (org.jboss.weld.bean.builtin.BeanManagerProxy)2 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 Hashtable (java.util.Hashtable)1 Annotated (javax.enterprise.inject.spi.Annotated)1 Bean (javax.enterprise.inject.spi.Bean)1 BeanManager (javax.enterprise.inject.spi.BeanManager)1 InjectionPoint (javax.enterprise.inject.spi.InjectionPoint)1 Interceptor (javax.enterprise.inject.spi.Interceptor)1 ProcessInjectionPoint (javax.enterprise.inject.spi.ProcessInjectionPoint)1 ComponentInstance (org.jboss.as.ee.component.ComponentInstance)1 InterceptorInstances (org.jboss.as.weld.spi.InterceptorInstances)1 WeldBootstrap (org.jboss.weld.bootstrap.WeldBootstrap)1 InterceptorBindings (org.jboss.weld.ejb.spi.InterceptorBindings)1 SerializableContextualInstance (org.jboss.weld.serialization.spi.helpers.SerializableContextualInstance)1 WeldInitialListener (org.jboss.weld.servlet.WeldInitialListener)1 Reference (org.osgi.service.cdi.annotations.Reference)1