java.lang.Object | ||
↳ | org.springframework.context.support.ApplicationObjectSupport | |
↳ | org.springframework.web.portlet.context.PortletApplicationObjectSupport |
![]() |
![]() |
Convenient superclass for application objects running in a Portlet ApplicationContext. Provides getApplicationContext, getServletContext, and getTempDir methods.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set the PortletContext that this object runs in.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the current PortletContext.
| |||||||||||
Return the temporary directory for the current web application,
as provided by the servlet container.
| |||||||||||
Overrides the base class behavior to enforce running in an ApplicationContext.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
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 |
---|
Return the current PortletContext.
IllegalStateException | if not running within a PortletContext |
---|
Return the temporary directory for the current web application, as provided by the servlet container.
IllegalStateException | if not running within a PortletContext |
---|
Overrides the base class behavior to enforce running in an ApplicationContext. All accessors will throw IllegalStateException if not running in a context.