程序包 org.springframework.web.portlet.context
Support for Spring's application context concept in a portlet environment, including ApplicationContext implementations and various utility classes.
接口概要 接口 说明 ConfigurablePortletApplicationContext Interface to be implemented by configurable portlet application contexts.PortletConfigAware Interface to be implemented by any object that wishes to be notified of the PortletConfig (typically determined by the PortletApplicationContext) that it runs in.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.类概要 类 说明 AbstractRefreshablePortletApplicationContext AbstractRefreshableApplicationContextsubclass which implements theConfigurablePortletApplicationContextinterface for portlet environments.PortletApplicationContextUtils Convenience methods for retrieving the rootWebApplicationContextfor a givenPortletContext.PortletApplicationObjectSupport Convenient superclass for application objects running in a Portlet ApplicationContext.PortletConfigPropertySource PropertySourcethat reads init parameters from aPortletConfigobject.PortletContextAwareProcessor BeanPostProcessorimplementation that passes the PortletContext to beans that implement thePortletContextAwareinterface.PortletContextPropertySource PropertySourcethat reads init parameters from aPortletContextobject.PortletContextResource Resourceimplementation forPortletContextresources, interpreting relative paths within the portlet application root directory.PortletContextResourceLoader ResourceLoader implementation that resolves paths as PortletContext resources, for use outside a Portlet ApplicationContext (for example, in a GenericPortletBean subclass).PortletContextResourcePatternResolver PortletContext-aware subclass ofPathMatchingResourcePatternResolver, able to find matching resources below the web application root directory via Portlet API'sPortletContext.getResourcePaths.PortletContextScope Scopewrapper for a PortletContext, i.e. for global web application attributes.PortletRequestAttributes Portlet-based implementation of theRequestAttributesinterface.PortletRequestHandledEvent Portlet-specific subclass of RequestHandledEvent, adding portlet-specific context information.PortletWebRequest WebRequestadapter for aPortletRequest.StandardPortletEnvironment Environmentimplementation to be used byServlet-based web applications.StaticPortletApplicationContext Static Portlet-basedApplicationContextimplementation for testing.XmlPortletApplicationContext Portlet-basedWebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.