public class

PortletContextPropertySource

extends EnumerablePropertySource<T>
java.lang.Object
   ↳ org.springframework.core.env.PropertySource<T>
     ↳ org.springframework.core.env.EnumerablePropertySource<T>
       ↳ org.springframework.web.portlet.context.PortletContextPropertySource

Class Overview

PropertySource that reads init parameters from a PortletContext object.

Summary

[Expand]
Inherited Fields
From class org.springframework.core.env.EnumerablePropertySource
From class org.springframework.core.env.PropertySource
Public Constructors
PortletContextPropertySource(String name, PortletContext portletContext)
Public Methods
String getProperty(String name)
Return the value associated with the given key, null if not found.
String[] getPropertyNames()
Return the names of all properties contained by the source object (never null).
[Expand]
Inherited Methods
From class org.springframework.core.env.EnumerablePropertySource
From class org.springframework.core.env.PropertySource
From class java.lang.Object

Public Constructors

public PortletContextPropertySource (String name, PortletContext portletContext)

Public Methods

public String getProperty (String name)

Return the value associated with the given key, null if not found.

Parameters
name the property key to find

public String[] getPropertyNames ()

Return the names of all properties contained by the source object (never null).