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 registryConstructor 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.InstantiationAwareBeanPostProcessor
org.springframework.beans.BeansException
public boolean postProcessAfterInstantiation(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInstantiation
in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
org.springframework.beans.BeansException
public 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.InstantiationAwareBeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.