org.springframework.web.portlet.context.ConfigurablePortletApplicationContext |
Known Indirect Subclasses |
Interface to be implemented by configurable portlet application contexts.
Supported by FrameworkPortlet
.
Note: The setters of this interface need to be called before an
invocation of the refresh()
method inherited from
ConfigurableApplicationContext
.
They do not cause an initialization of the context on their own.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PORTLET_CONFIG_BEAN_NAME | Name of the PortletConfig environment bean in the factory. | |||||||||
String | PORTLET_CONTEXT_BEAN_NAME | Name of the PortletContext environment bean in the factory. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.beans.factory.BeanFactory
| |||||||||||
From interface
org.springframework.context.ConfigurableApplicationContext
| |||||||||||
From interface
org.springframework.core.io.ResourceLoader
| |||||||||||
From interface
org.springframework.core.io.support.ResourcePatternResolver
| |||||||||||
From interface
org.springframework.web.context.WebApplicationContext
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
APPLICATION_CONTEXT_ID_PREFIX | Prefix for ApplicationContext ids that refer to portlet name. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.web.context.WebApplicationContext
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the config locations for this web application context,
or
null if none specified. | |||||||||||
Return the namespace for this web application context, if any.
| |||||||||||
Return the PortletConfig for this portlet application context, if any.
| |||||||||||
Return the standard Portlet API PortletContext for this application.
| |||||||||||
Set the config locations for this portlet application context in init-param style,
i.e.
| |||||||||||
Set the config locations for this portlet application context.
| |||||||||||
Set the namespace for this portlet application context,
to be used for building a default context config location.
| |||||||||||
Set the PortletConfig for this portlet application context.
| |||||||||||
Set the PortletContext for this portlet application context.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.beans.factory.BeanFactory
| |||||||||||
From interface
org.springframework.beans.factory.HierarchicalBeanFactory
| |||||||||||
From interface
org.springframework.beans.factory.ListableBeanFactory
| |||||||||||
From interface
org.springframework.context.ApplicationContext
| |||||||||||
From interface
org.springframework.context.ApplicationEventPublisher
| |||||||||||
From interface
org.springframework.context.ConfigurableApplicationContext
| |||||||||||
From interface
org.springframework.context.Lifecycle
| |||||||||||
From interface
org.springframework.context.MessageSource
| |||||||||||
From interface
org.springframework.core.env.EnvironmentCapable
| |||||||||||
From interface
org.springframework.core.io.ResourceLoader
| |||||||||||
From interface
org.springframework.core.io.support.ResourcePatternResolver
| |||||||||||
From interface
org.springframework.web.context.WebApplicationContext
|
Name of the PortletConfig environment bean in the factory.
Name of the PortletContext environment bean in the factory.
Prefix for ApplicationContext ids that refer to portlet name.
Return the config locations for this web application context,
or null
if none specified.
Return the namespace for this web application context, if any.
Return the PortletConfig for this portlet application context, if any.
Return the standard Portlet API PortletContext for this application.
Set the config locations for this portlet application context in init-param style, i.e. with distinct locations separated by commas, semicolons or whitespace.
If not set, the implementation is supposed to use a default for the given namespace.
Set the config locations for this portlet application context.
If not set, the implementation is supposed to use a default for the given namespace.
Set the namespace for this portlet application context, to be used for building a default context config location.
Set the PortletConfig for this portlet application context.
Set the PortletContext for this portlet application context.
Does not cause an initialization of the context: refresh needs to be called after the setting of all configuration properties.