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);
}
}
Aggregations