From 61f9b6476e761d4b17db4d0d053587fb526b4dfe Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 7 Nov 2005 14:42:24 +0000 Subject: [PATCH] * Implement getDbProperties() for db.properties introspection. --- src/helma/framework/core/Application.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index 9849faa8..4989765e 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -1864,14 +1864,24 @@ public final class Application implements IPathElement, Runnable { } /** + * Get the application's app properties * - * - * @return ... + * @return the properties reflecting the app.properties */ public ResourceProperties getProperties() { 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 * always return the same string, even if it has been changed in the properties file