Save This Page
Home » spring-framework-2.5.4 » org.springframework » web » portlet » context » [javadoc | source]
org.springframework.web.portlet.context
abstract public class: PortletApplicationObjectSupport [javadoc | source]
java.lang.Object
   org.springframework.context.support.ApplicationObjectSupport
      org.springframework.web.portlet.context.PortletApplicationObjectSupport

All Implemented Interfaces:
    PortletContextAware, ApplicationContextAware

Direct Known Subclasses:
    AnnotationMethodHandlerAdapter, ParameterizableViewController, AbstractWizardFormController, AbstractController, AbstractFormController, PortletContentGenerator, PortletWrappingController, AbstractCommandController, SimpleFormController, BaseCommandController

Convenient superclass for application objects running in a Portlet ApplicationContext. Provides getApplicationContext, getServletContext, and getTempDir methods.
Fields inherited from org.springframework.context.support.ApplicationObjectSupport:
logger
Method from org.springframework.web.portlet.context.PortletApplicationObjectSupport Summary:
getPortletContext,   getTempDir,   isContextRequired,   setPortletContext
Methods from org.springframework.context.support.ApplicationObjectSupport:
getApplicationContext,   getMessageSourceAccessor,   initApplicationContext,   initApplicationContext,   isContextRequired,   requiredContextClass,   setApplicationContext
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.web.portlet.context.PortletApplicationObjectSupport Detail:
 protected final PortletContext getPortletContext() throws IllegalStateException 
    Return the current PortletContext.
 protected final File getTempDir() throws IllegalStateException 
    Return the temporary directory for the current web application, as provided by the servlet container.
 protected boolean isContextRequired() 
    Overrides the base class behavior to enforce running in an ApplicationContext. All accessors will throw IllegalStateException if not running in a context.
 public  void setPortletContext(PortletContext portletContext)