[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop/integrated ...
Manik Surtani
msurtani at jboss.com
Thu Jul 20 07:14:17 EDT 2006
User: msurtani
Date: 06/07/20 07:14:17
Modified: tests/functional/org/jboss/cache/aop/integrated
ReplicatedPropagationManagerlAopTest.java
Log:
Partially migrated to new configurators
Revision Changes Path
1.4 +2 -3 JBossCache/tests/functional/org/jboss/cache/aop/integrated/ReplicatedPropagationManagerlAopTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedPropagationManagerlAopTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/integrated/ReplicatedPropagationManagerlAopTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedPropagationManagerlAopTest.java 20 Jul 2006 09:03:52 -0000 1.3
+++ ReplicatedPropagationManagerlAopTest.java 20 Jul 2006 11:14:16 -0000 1.4
@@ -1,10 +1,10 @@
package org.jboss.cache.aop.integrated;
import junit.framework.TestCase;
-import org.jboss.cache.PropertyConfigurator;
import org.jboss.cache.aop.PojoCache;
import org.jboss.cache.aop.test.propagation.PropagationManager;
import org.jboss.cache.aop.test.propagation.impl.PropagationManagerImpl;
+import org.jboss.cache.factories.XmlConfigurationParser;
public class ReplicatedPropagationManagerlAopTest extends TestCase {
private PropagationManager pm_;
@@ -24,8 +24,7 @@
private PojoCache createCache(String name) throws Exception {
PojoCache tree = new PojoCache();
- PropertyConfigurator config = new PropertyConfigurator();
- config.configure(tree, "META-INF/replSync-service.xml"); // read in generic replAsync xml
+ tree.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/replSync-service.xml"));
tree.getConfiguration().setClusterName(name);
tree.createService();
tree.startService();
More information about the jboss-cvs-commits
mailing list