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.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
public class DoPrivilegedFactory
- extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
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