Liferay 7.0-ce-b4

com.liferay.portal.security.lang
Class DoPrivilegedFactory

java.lang.Object
  extended by org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
      extended by 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


Constructor Summary
DoPrivilegedFactory()
           
 
Method Summary
 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)
           
 
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
 

Constructor Detail

DoPrivilegedFactory

public DoPrivilegedFactory()
Method Detail

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

Liferay 7.0-ce-b4