|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sas.edir.webapp.Registry
The Registry is a set of properties that matches contnet with available resources. It pairs a property with a resource available on a web server. This property can be augmented by an Object's type, so that data specific to different objects can be mapped to different resources.
| Constructor Summary | |
Registry(java.util.Properties properties)
Builds a Registry. |
|
| Method Summary | |
java.util.Properties |
getRegistryProperties()
Returns all properties in the Registry |
java.lang.String |
getRegistryProperty(java.lang.Object object,
java.lang.String property)
Performs a registry lookup for a given property. |
java.lang.String |
getRegistryProperty(java.lang.String property)
Performs a registry lookup for a given property. |
java.lang.String |
getRegistryProperty(java.lang.String type,
java.lang.String property)
Performs a registry lookup for a given property. |
protected abstract java.lang.String |
getType(java.lang.Object object)
An abstract method used to get an object's type. |
void |
list(java.io.PrintWriter pw)
Display the contents of a Registry via a Printwriter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Registry(java.util.Properties properties)
properties - The Properties object used to build the Registry.| Method Detail |
public void list(java.io.PrintWriter pw)
pw - The PrintWriter used for displaying the Registry.
public final java.lang.String getRegistryProperty(java.lang.String type,
java.lang.String property)
type - A String that helps specify what kind of resource to
look for.property - A String that tells which specific property to lookup.
public final java.lang.String getRegistryProperty(java.lang.Object object,
java.lang.String property)
object - The Object whose resource is being looked up.property - A String that, when combined with the
object's type, defines the lookup being done.public final java.lang.String getRegistryProperty(java.lang.String property)
property - A String that defines the lookup being done.public final java.util.Properties getRegistryProperties()
protected abstract java.lang.String getType(java.lang.Object object)
object - The Object whose type is being derived.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||