Search in sources :

Example 1 with ConfigurationBean

use of org.apache.aries.cdi.container.internal.bean.ConfigurationBean in project aries by apache.

the class Phase_Publish method processConfigurationDependencies.

private void processConfigurationDependencies(BeanManagerImpl beanManagerImpl) {
    for (ConfigurationDependency configurationDependency : _bc.getConfigurations()) {
        InjectionPoint injectionPoint = configurationDependency.getInjectionPoint();
        ConfigurationBean bean = new ConfigurationBean(configurationDependency, beanManagerImpl, injectionPoint.getType(), injectionPoint.getQualifiers());
        beanManagerImpl.addBean(bean);
    }
}
Also used : ConfigurationBean(org.apache.aries.cdi.container.internal.bean.ConfigurationBean) InjectionPoint(javax.enterprise.inject.spi.InjectionPoint)

Aggregations

InjectionPoint (javax.enterprise.inject.spi.InjectionPoint)1 ConfigurationBean (org.apache.aries.cdi.container.internal.bean.ConfigurationBean)1