public class PortletContextAwareProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor
implementation that passes the PortletContext to beans that implement
the PortletContextAware interface.
Portlet application contexts will automatically register this with their underlying bean factory. Applications do not use this directly.
PortletContextAware,
AbstractRefreshablePortletApplicationContext.postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory)| Constructor and Description |
|---|
PortletContextAwareProcessor(PortletConfig portletConfig)
Create a new PortletContextAwareProcessor for the given config.
|
PortletContextAwareProcessor(PortletContext portletContext)
Create a new PortletContextAwareProcessor for the given context.
|
PortletContextAwareProcessor(PortletContext portletContext,
PortletConfig portletConfig)
Create a new PortletContextAwareProcessor for the given context and config.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
public PortletContextAwareProcessor(PortletContext portletContext)
public PortletContextAwareProcessor(PortletConfig portletConfig)
public PortletContextAwareProcessor(PortletContext portletContext, PortletConfig portletConfig)
public 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.BeanPostProcessororg.springframework.beans.BeansExceptionpublic java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor