[jboss-cvs] JBossAS SVN: r59568 - trunk/ejb3/src/test/org/jboss/ejb3/test/cache.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 11 22:16:59 EST 2007


Author: bstansberry at jboss.com
Date: 2007-01-11 22:16:58 -0500 (Thu, 11 Jan 2007)
New Revision: 59568

Modified:
   trunk/ejb3/src/test/org/jboss/ejb3/test/cache/Tester.java
Log:
Move to JBoss Cache Alpha2

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/cache/Tester.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/cache/Tester.java	2007-01-12 02:39:24 UTC (rev 59567)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/cache/Tester.java	2007-01-12 03:16:58 UTC (rev 59568)
@@ -62,14 +62,14 @@
       System.out.println(cache.get(mysfbf1234, "hello"));
       System.out.println("exists in DB: " + fp.exists());
       if (fp.exists()) throw new RuntimeException("Should have been removed on activation.");
-      if (cache.hasChild(mysfbf1234))
+      if (cache.getRoot().hasChild(mysfbf1234))
       {
-         cache.remove("/mySFSB/1234");
+         cache.removeNode(Fqn.fromString("/mySFSB/1234"));
 //         synchronized (policy)
 //         {
 //            policy.removeRegion("/mySFSB");
 //         }
-         cache.remove("/mySFSB");
+         cache.removeNode(Fqn.fromString("/mySFSB"));
       }
    }
 




More information about the jboss-cvs-commits mailing list