[jbosscache-commits] JBoss Cache SVN: r4935 - core/trunk/src/main/java/org/jboss/cache/factories.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Wed Jan 2 06:28:33 EST 2008
Author: manik.surtani at jboss.com
Date: 2008-01-02 06:28:33 -0500 (Wed, 02 Jan 2008)
New Revision: 4935
Modified:
core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java
Log:
Even after resetting, the SPI should move to state WIRED so operations like start() can be called on it!
Modified: core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java 2008-01-02 11:28:08 UTC (rev 4934)
+++ core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java 2008-01-02 11:28:33 UTC (rev 4935)
@@ -541,6 +541,8 @@
componentLookup.put(CacheImpl.class.getName(), impl);
componentLookup.put(CacheSPI.class.getName(), spi);
+ spi.changeState(WIRED);
+
overallState = null;
}
More information about the jbosscache-commits
mailing list