public class DoPrivilegedFactory
extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
DoPrivilegedFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getEarlyBeanReference(Object bean,
String beanName) |
static boolean |
isEarlyBeanReference(String beanName) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
static <T> T |
wrap(T bean) |
public static boolean isEarlyBeanReference(String beanName)
public static <T> T wrap(T bean)
public Object getEarlyBeanReference(Object bean, String beanName) throws org.springframework.beans.BeansException
getEarlyBeanReference
in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
getEarlyBeanReference
in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
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
postProcessAfterInitialization
in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
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
postProcessBeforeInitialization
in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
org.springframework.beans.BeansException
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException