com.liferay.portal.security.lang
Class DoPrivilegedFactory
java.lang.Object
org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
com.liferay.portal.security.lang.DoPrivilegedFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.context.ApplicationContextAware
public class DoPrivilegedFactory
- extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- implements org.springframework.context.ApplicationContextAware
| Methods inherited from class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter |
determineCandidateConstructors, postProcessAfterInstantiation, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoPrivilegedFactory
public DoPrivilegedFactory()
isEarlyBeanReference
public static boolean isEarlyBeanReference(String beanName)
wrap
public static <T> T wrap(T bean)
getEarlyBeanReference
public Object getEarlyBeanReference(Object bean,
String beanName)
throws org.springframework.beans.BeansException
- Specified by:
getEarlyBeanReference in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor- Overrides:
getEarlyBeanReference in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- Throws:
org.springframework.beans.BeansException
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean,
String beanName)
throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor- Overrides:
postProcessAfterInitialization in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- Throws:
org.springframework.beans.BeansException
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean,
String beanName)
throws org.springframework.beans.BeansException
- Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor- Overrides:
postProcessBeforeInitialization in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
- Throws:
org.springframework.beans.BeansException
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException