[jboss-cvs] JBossCache/src/org/jboss/cache/factories ...
Manik Surtani
msurtani at jboss.com
Tue Jan 2 20:21:37 EST 2007
User: msurtani
Date: 07/01/02 20:21:37
Modified: src/org/jboss/cache/factories NodeFactory.java
Log:
Init of root node changed
Revision Changes Path
1.19 +9 -0 JBossCache/src/org/jboss/cache/factories/NodeFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NodeFactory.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/factories/NodeFactory.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- NodeFactory.java 2 Jan 2007 21:26:45 -0000 1.18
+++ NodeFactory.java 3 Jan 2007 01:21:37 -0000 1.19
@@ -39,9 +39,18 @@
public NodeFactory(CacheSPI cache)
{
this.cache = cache;
+ init();
+ }
+
+ /**
+ * Initialises the node factory with the configuration from the cache.
+ */
+ public void init()
+ {
optimistic = cache.getConfiguration().isNodeLockingOptimistic();
}
+
/**
* Creates a new {@link Node} instance.
*
More information about the jboss-cvs-commits
mailing list