[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/factories ...
Brian Stansberry
brian.stansberry at jboss.com
Thu Nov 9 21:48:46 EST 2006
User: bstansberry
Date: 06/11/09 21:48:46
Modified: tests/functional/org/jboss/cache/factories
InterceptorChainFactoryTest.java
Log:
Rename config property used to control CacheMgmtInterceptor
Revision Changes Path
1.4 +12 -12 JBossCache/tests/functional/org/jboss/cache/factories/InterceptorChainFactoryTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InterceptorChainFactoryTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/factories/InterceptorChainFactoryTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- InterceptorChainFactoryTest.java 25 Oct 2006 04:50:21 -0000 1.3
+++ InterceptorChainFactoryTest.java 10 Nov 2006 02:48:46 -0000 1.4
@@ -37,7 +37,7 @@
public void testBareConfig() throws Exception
{
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
Interceptor chain = new InterceptorChainFactory().buildInterceptorChain(cache);
List<Interceptor> list = InterceptorChainFactory.asList(chain);
Iterator<Interceptor> interceptors = list.iterator();
@@ -58,7 +58,7 @@
public void testTxConfig() throws Exception
{
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
Interceptor chain = new InterceptorChainFactory().buildInterceptorChain(cache);
@@ -102,7 +102,7 @@
public void testSharedCacheLoaderConfig() throws Exception
{
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(false, false));
cache.getConfiguration().setCacheMode("REPL_ASYNC");
@@ -131,7 +131,7 @@
public void testUnsharedCacheLoaderConfig() throws Exception
{
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(false, true));
cache.getConfiguration().setCacheMode("REPL_ASYNC");
@@ -160,7 +160,7 @@
public void testTxAndRepl() throws Exception
{
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setCacheMode("repl_sync");
cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
Interceptor chain = new InterceptorChainFactory().buildInterceptorChain(cache);
@@ -186,7 +186,7 @@
public void testOptimisticChain() throws Exception
{
TreeCache cache = new TreeCache();
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
Interceptor next = new InterceptorChainFactory().buildInterceptorChain(cache);
@@ -211,7 +211,7 @@
public void testOptimisticReplicatedChain() throws Exception
{
TreeCache cache = new TreeCache();
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
cache.getConfiguration().setCacheMode("REPL_SYNC");
@@ -238,7 +238,7 @@
public void testOptimisticCacheLoaderChain() throws Exception
{
TreeCache cache = new TreeCache();
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(false, false));
cache.create();
@@ -266,7 +266,7 @@
public void testOptimisticPassivationCacheLoaderChain() throws Exception
{
TreeCache cache = new TreeCache();
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(true, false));
cache.create();
@@ -295,7 +295,7 @@
public void testInvalidationInterceptorChain() throws Exception
{
TreeCache cache = new TreeCache();
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setCacheMode("REPL_ASYNC");
Interceptor chain = new InterceptorChainFactory().buildInterceptorChain(cache);
@@ -317,7 +317,7 @@
// now for my invalidation chain.
cache = new TreeCache();
- cache.getConfiguration().setUseMbean(false);
+ cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setCacheMode("INVALIDATION_ASYNC");
chain = new InterceptorChainFactory().buildInterceptorChain(cache);
@@ -339,7 +339,7 @@
public void testCacheMgmtConfig() throws Exception
{
- cache.getConfiguration().setUseMbean(true);
+ cache.getConfiguration().setExposeManagementStatistics(true);
Interceptor chain = new InterceptorChainFactory().buildInterceptorChain(cache);
List<Interceptor> list = InterceptorChainFactory.asList(chain);
Iterator<Interceptor> interceptors = list.iterator();
More information about the jboss-cvs-commits
mailing list