public class DiscardedOptionalBeanPostProcessor extends Object implements org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
InstantiationAwareBeanPostProcessor which suspends initialization and population of discarded objects and removes
them from the registry| Constructor and Description |
|---|
DiscardedOptionalBeanPostProcessor(OptionalObjectsController optionalObjectsController,
DefaultListableBeanFactory beanFactory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
boolean |
postProcessAfterInstantiation(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInstantiation(Class<?> beanClass,
String beanName) |
org.springframework.beans.PropertyValues |
postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName) |
public DiscardedOptionalBeanPostProcessor(OptionalObjectsController optionalObjectsController, DefaultListableBeanFactory beanFactory)
public Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic boolean postProcessAfterInstantiation(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
throws org.springframework.beans.BeansException
postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.