Search in sources :

Example 1 with MuleInjectorProcessor

use of org.mule.runtime.config.internal.processor.MuleInjectorProcessor in project mule by mulesoft.

the class MuleArtifactContext method registerInjectorProcessor.

protected void registerInjectorProcessor(ConfigurableListableBeanFactory beanFactory) {
    MuleInjectorProcessor muleInjectorProcessor = null;
    if (artifactType.equals(APP) || artifactType.equals(POLICY) || artifactType.equals(DOMAIN)) {
        muleInjectorProcessor = new MuleInjectorProcessor();
    }
    if (muleInjectorProcessor != null) {
        muleInjectorProcessor.setBeanFactory(beanFactory);
        beanFactory.addBeanPostProcessor(muleInjectorProcessor);
    }
}
Also used : MuleInjectorProcessor(org.mule.runtime.config.internal.processor.MuleInjectorProcessor)

Aggregations

MuleInjectorProcessor (org.mule.runtime.config.internal.processor.MuleInjectorProcessor)1