* Implement getDbProperties() for db.properties introspection.

This commit is contained in:
hns 2005-11-07 14:42:24 +00:00
parent 9593e25aed
commit 61f9b6476e

View file

@ -1864,14 +1864,24 @@ public final class Application implements IPathElement, Runnable {
} }
/** /**
* Get the application's app properties
* *
* * @return the properties reflecting the app.properties
* @return ...
*/ */
public ResourceProperties getProperties() { public ResourceProperties getProperties() {
return props; return props;
} }
/**
* Get the application's db properties
*
* @return the properties reflecting the db.properties
*/
public ResourceProperties getDbProperties() {
return dbProps;
}
/** /**
* Return the XML-RPC handler name for this app. The contract is to * Return the XML-RPC handler name for this app. The contract is to
* always return the same string, even if it has been changed in the properties file * always return the same string, even if it has been changed in the properties file