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, setRequiredParameterValue
getEarlyBeanReference, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, predictBeanType
protected 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.InstantiationAwareBeanPostProcessor
postProcessPropertyValues
in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
org.springframework.beans.BeansException
public final void postProcessMergedBeanDefinition(org.springframework.beans.factory.support.RootBeanDefinition beanDefinition, Class<?> beanType, String beanName)
postProcessMergedBeanDefinition
in interface org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor
postProcessMergedBeanDefinition
in class org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.