}\r
}\r
\r
+ /**\r
+ * test if the database handler for dbName contains the given dbProperty\r
+ * @param dbName\r
+ * @param dbProperty\r
+ * @return true if proxy has the given property\r
+ */\r
+ public boolean hasDbSourceProperty(String dbName, String dbProperty)\r
+ {\r
+ // TODO: decide if invalidDbName exception is thrown here.\r
+ DbSourceProxy proxy = getSourceProxy(dbName);\r
+ if (proxy!=null)\r
+ {\r
+ if (proxy.getDbSourceProperties()!=null)\r
+ {\r
+ return proxy.getDbSourceProperties().containsKey(dbProperty);\r
+ }\r
+ }\r
+ return false;\r
+ }\r
+\r
}
\ No newline at end of file