接口 PortletContextAware
- 所有超级接口:
Aware
- 所有已知实现类:
AbstractController
,AnnotationMethodHandlerAdapter
,CommonsPortletMultipartResolver
,ParameterizableViewController
,PortletApplicationObjectSupport
,PortletContentGenerator
,PortletWrappingController
,SimpleControllerHandlerAdapter
,SimplePortletHandlerAdapter
,SimplePortletPostProcessor
public interface PortletContextAware extends Aware
Interface to be implemented by any object that wishes to be notified of the PortletContext (typically determined by the PortletApplicationContext) that it runs in.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller, William G. Thompson, Jr., Chris Beams
- 另请参阅:
PortletConfigAware
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
setPortletContext(PortletContext portletContext)
Set the PortletContext that this object runs in.
方法详细资料
setPortletContext
void setPortletContext(PortletContext portletContext)
Set the PortletContext that this object runs in.Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked after ApplicationContextAware's setApplicationContext.
- 参数:
portletContext
- PortletContext object to be used by this object