public class PortletContextAwareProcessor extends Object implements 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(javax.portlet.PortletConfig portletConfig)
Create a new PortletContextAwareProcessor for the given config.
|
PortletContextAwareProcessor(javax.portlet.PortletContext portletContext)
Create a new PortletContextAwareProcessor for the given context.
|
PortletContextAwareProcessor(javax.portlet.PortletContext portletContext,
javax.portlet.PortletConfig portletConfig)
Create a new PortletContextAwareProcessor for the given context and config.
|
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public PortletContextAwareProcessor(javax.portlet.PortletContext portletContext)
public PortletContextAwareProcessor(javax.portlet.PortletConfig portletConfig)
public PortletContextAwareProcessor(javax.portlet.PortletContext portletContext, javax.portlet.PortletConfig portletConfig)
public Object postProcessAfterInitialization(Object bean, String beanName)
postProcessAfterInitialization
in interface BeanPostProcessor
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
Copyright © 2019 Liferay, Inc.. All rights reserved.