org.springframework.web.portlet.context
Class PortletConfigPropertySource
java.lang.Object
org.springframework.core.env.PropertySource<T>
org.springframework.core.env.EnumerablePropertySource<javax.portlet.PortletConfig>
org.springframework.web.portlet.context.PortletConfigPropertySource
public class PortletConfigPropertySource
- extends org.springframework.core.env.EnumerablePropertySource<javax.portlet.PortletConfig>
PropertySource
that reads init parameters from a PortletConfig
object.
- Since:
- 3.1
- Author:
- Chris Beams
- See Also:
PortletContextPropertySource
Nested classes/interfaces inherited from class org.springframework.core.env.PropertySource |
org.springframework.core.env.PropertySource.StubPropertySource |
Fields inherited from class org.springframework.core.env.EnumerablePropertySource |
EMPTY_NAMES_ARRAY, logger |
Fields inherited from class org.springframework.core.env.PropertySource |
name, source |
Methods inherited from class org.springframework.core.env.EnumerablePropertySource |
containsProperty |
Methods inherited from class org.springframework.core.env.PropertySource |
equals, getName, getSource, hashCode, named, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PortletConfigPropertySource
public PortletConfigPropertySource(java.lang.String name,
javax.portlet.PortletConfig portletConfig)
getPropertyNames
public java.lang.String[] getPropertyNames()
- Specified by:
getPropertyNames
in class org.springframework.core.env.EnumerablePropertySource<javax.portlet.PortletConfig>
getProperty
public java.lang.String getProperty(java.lang.String name)
- Specified by:
getProperty
in class org.springframework.core.env.PropertySource<javax.portlet.PortletConfig>