[jboss-cvs] JBossCache/src/org/jboss/cache/factories ...
Ben Wang
bwang at jboss.com
Mon Sep 25 01:50:03 EDT 2006
User: bwang
Date: 06/09/25 01:50:03
Modified: src/org/jboss/cache/factories InterceptorChainFactory.java
Log:
1. Modify useInterceptorMbeans to useMbean
2. Added PojoCache jmx framework
3. added test
Revision Changes Path
1.31 +4 -4 JBossCache/src/org/jboss/cache/factories/InterceptorChainFactory.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InterceptorChainFactory.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/factories/InterceptorChainFactory.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- InterceptorChainFactory.java 13 Sep 2006 13:11:18 -0000 1.30
+++ InterceptorChainFactory.java 25 Sep 2006 05:50:03 -0000 1.31
@@ -59,7 +59,7 @@
{
Interceptor i = (Interceptor) clazz.newInstance();
i.setCache(cache);
- i.setStatisticsEnabled(cache.getConfiguration().isUseInterceptorMbeans());
+ i.setStatisticsEnabled(cache.getConfiguration().isUseMbean());
return i;
}
@@ -212,7 +212,7 @@
if (first == null) first = invocationCtxInterceptor;
// load the cache management interceptor next
- if (cache.getConfiguration().isUseInterceptorMbeans())
+ if (cache.getConfiguration().isUseMbean())
{
if (first == null)
{
@@ -472,7 +472,7 @@
if (first == null) first = invocationCtxInterceptor;
- if (cache.getConfiguration().isUseInterceptorMbeans())
+ if (cache.getConfiguration().isUseMbean())
{
cacheMgmtInterceptor = createInterceptor(CacheMgmtInterceptor.class, cache);
if (first == null)
More information about the jboss-cvs-commits
mailing list