PropertyProvider Interface

com.bea.p13n.content
PropertyProvider Interface

public interface PropertyProvider

Interface defining a method to return a properties value.

Related Topics

PropertyProviderImpl


All Known Implementing Classes
PropertyProviderImpl

Method Summary

public Object
getProperty(String propertySetType, String propertySet, String propertyName)
Retrieve a property value as a string.

Method Detail

getProperty(String, String, String) Method

public Object getProperty(String propertySetType, 
                          String propertySet, 
                          String propertyName)
throws IllegalArgumentException
Retrieve a property value as a string.

Parameters

propertySetType
the type of property set (user, request, session, event).
propertySet
the name of the property set.
propertyName
the name of the property.

Returns

the property value, or null.

Exceptions

IllegalArgumentException
if an arg is invalid or the PropertyProvider isn't configured for the specified args.