public class PortletConfigPropertySource extends EnumerablePropertySource<PortletConfig>
PropertySource that reads init parameters from a PortletConfig object.PortletContextPropertySourcePropertySource.StubPropertySourceEMPTY_NAMES_ARRAY, loggername, source| Constructor and Description |
|---|
PortletConfigPropertySource(String name,
PortletConfig portletConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String name)
Return the value associated with the given name,
null if not found. |
String[] |
getPropertyNames()
Return the names of all properties contained by the source object (never
null). |
containsPropertypublic PortletConfigPropertySource(String name, PortletConfig portletConfig)
public String[] getPropertyNames()
EnumerablePropertySourcenull).getPropertyNames in class EnumerablePropertySource<PortletConfig>public String getProperty(String name)
PropertySourcenull if not found.getProperty in class PropertySource<PortletConfig>name - the property to findPropertyResolver.getRequiredProperty(String)