java.lang.Object | |||
↳ | org.springframework.core.env.AbstractEnvironment | ||
↳ | org.springframework.core.env.DefaultEnvironment | ||
↳ | org.springframework.web.portlet.context.DefaultPortletEnvironment |
Environment
implementation to be used by Servlet
-based web
applications. All Portlet-related ApplicationContext
classes initialize an instance
by default.
Contributes ServletContext
-, PortletContext
-, and PortletConfig
-based
PropertySource
instances. See the DefaultPortletEnvironment()
constructor
for details.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PORTLET_CONFIG_PROPERTY_SOURCE_NAME | Portlet config init parameters property source name: {@value } | |||||||||
String | PORTLET_CONTEXT_PROPERTY_SOURCE_NAME | Portlet context init parameters property source name: {@value } |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
Environment populated with the property sources contributed by
superclasses as well as:
Properties present in {@value #PORTLET_CONFIG_PROPERTY_SOURCE_NAME} will take precedence over those in {@value #PORTLET_CONTEXT_PROPERTY_SOURCE_NAME}, which takes precedence over those in . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Portlet config init parameters property source name: {@value }
Portlet context init parameters property source name: {@value }
Create a new Environment
populated with the property sources contributed by
superclasses as well as:
"servletContextInitParams"
Properties present in {@value #PORTLET_CONFIG_PROPERTY_SOURCE_NAME} will take precedence over those in {@value #PORTLET_CONTEXT_PROPERTY_SOURCE_NAME}, which takes precedence over those in . Properties in either will take precedence over system properties and environment variables.
The property sources are added as stubs for now, and will be
fully initialized
once the actual PortletConfig, PortletContext, and ServletContext
objects are available.