Author: manik.surtani(a)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;
}
Show replies by date