public class NoDevkitInjectorProcessor
extends org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
SelectiveInjectorProcessor used to keep
mule from injecting dependencies into components
built with Devkit, by skipping injection of objects
which are instances of org.mule.api.devkit.ProcessAdapter
or org.mule.modules.process.ProcessAdapter| Constructor and Description |
|---|
NoDevkitInjectorProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
Class<?> beanType,
String beanName)
No-Op method
|
org.springframework.beans.PropertyValues |
postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
Only performs the injetion if
shouldInject(PropertyValues, PropertyDescriptor[], Object, String)
returns true
|
protected boolean |
shouldInject(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName) |
determineCandidateConstructors, determineRequiredStatus, findAutowireCandidates, getOrder, processInjection, setAutowiredAnnotationType, setAutowiredAnnotationTypes, setBeanFactory, setOrder, setRequiredParameterName, setRequiredParameterValuegetEarlyBeanReference, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, predictBeanTypeprotected boolean shouldInject(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
public org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
throws org.springframework.beans.BeansException
shouldInject(PropertyValues, PropertyDescriptor[], Object, String)
returns true
postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpostProcessPropertyValues in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessororg.springframework.beans.BeansExceptionpublic final void postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition,
Class<?> beanType,
String beanName)
postProcessMergedBeanDefinition in interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessorpostProcessMergedBeanDefinition in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessorCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.