站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

PortletContextAware (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.web.portlet.context
Interface PortletContextAware

All Known Implementing Classes:
AbstractCommandController, AbstractController, AbstractFormController, AbstractWizardFormController, BaseCommandController, CommonsPortletMultipartResolver, ParameterizableViewController, PortletApplicationObjectSupport, PortletContentGenerator, PortletWrappingController, SimpleFormController, SimplePortletPostProcessor

public interface PortletContextAware

Interface to be implemented by any object that wishes to be notified of the PortletContext (typically determined by the PortletApplicationContext) that it runs in.

Since:
2.0
Author:
Juergen Hoeller, William G. Thompson, Jr.
See Also:
PortletConfigAware

Method Summary
 void setPortletContext(PortletContext portletContext)
          Set the PortletContext that this object runs in.
 

Method Detail

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.

Parameters:
portletContext - PortletContext object to be used by this object

The Spring Framework

Copyright © 2002-2007 The Spring Framework.