[teiid-commits] teiid SVN: r1043 - trunk/server/src/main/java/com/metamatrix/platform/config/spi/xml.
teiid-commits at lists.jboss.org
teiid-commits at lists.jboss.org
Thu Jun 11 17:21:13 EDT 2009
Author: vhalbert at redhat.com
Date: 2009-06-11 17:21:13 -0400 (Thu, 11 Jun 2009)
New Revision: 1043
Modified:
trunk/server/src/main/java/com/metamatrix/platform/config/spi/xml/XMLConfigurationMgr.java
Log:
Teiid-570 - for testing purposes, added the reset() method so that the configurationmgr state can be cleared.
Modified: trunk/server/src/main/java/com/metamatrix/platform/config/spi/xml/XMLConfigurationMgr.java
===================================================================
--- trunk/server/src/main/java/com/metamatrix/platform/config/spi/xml/XMLConfigurationMgr.java 2009-06-11 21:19:33 UTC (rev 1042)
+++ trunk/server/src/main/java/com/metamatrix/platform/config/spi/xml/XMLConfigurationMgr.java 2009-06-11 21:21:13 UTC (rev 1043)
@@ -200,6 +200,11 @@
private synchronized void clearCache() {
this.readOnlyConfig = null;
}
+
+ // this method is need for testing so that the Mgr can be recreated with a different set of properties.
+ public void reset() {
+ this.mgr = null;
+ }
/**
* Returns ID of one of the well-known configuration. Will
More information about the teiid-commits
mailing list