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 |
|---|---|
java.lang.Object |
getEarlyBeanReference(java.lang.Object bean,
java.lang.String beanName) |
static boolean |
isEarlyBeanReference(java.lang.String beanName) |
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
static <T> T |
wrap(T bean) |
public static boolean isEarlyBeanReference(java.lang.String beanName)
public static <T> T wrap(T bean)
public java.lang.Object getEarlyBeanReference(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
getEarlyBeanReference in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessorgetEarlyBeanReference in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapterorg.springframework.beans.BeansExceptionpublic java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessAfterInitialization in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapterorg.springframework.beans.BeansExceptionpublic java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessBeforeInitialization in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapterorg.springframework.beans.BeansExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException