Author: manik.surtani(a)jboss.com
Date: 2009-03-04 03:55:28 -0500 (Wed, 04 Mar 2009)
New Revision: 7835
Modified:
core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java
Log:
JBCACHE-1487
Modified: core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java 2009-03-04 08:53:25
UTC (rev 7834)
+++ core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java 2009-03-04 08:55:28
UTC (rev 7835)
@@ -97,6 +97,12 @@
}
@Start(priority = 12)
+ public void start()
+ {
+ createRootNode();
+ started = true;
+ }
+
public void createRootNode()
{
usingMvcc = config != null && config.getNodeLockingScheme() ==
NodeLockingScheme.MVCC;
@@ -116,7 +122,6 @@
}
if (usingMvcc && rootInternal == null) setRoot(root); // sets the
"internal root"
- started = true;
}
@Stop(priority = 100)