[jboss-cvs] JBossCache/src/org/jboss/cache/interceptors ...
Manik Surtani
msurtani at jboss.com
Wed Sep 6 11:30:55 EDT 2006
User: msurtani
Date: 06/09/06 11:30:55
Modified: src/org/jboss/cache/interceptors CacheMgmtInterceptor.java
Log:
Removed TreeCache dependency on ServiceMBeanSupport
Revision Changes Path
1.21 +3 -3 JBossCache/src/org/jboss/cache/interceptors/CacheMgmtInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheMgmtInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/interceptors/CacheMgmtInterceptor.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- CacheMgmtInterceptor.java 5 Sep 2006 18:09:56 -0000 1.20
+++ CacheMgmtInterceptor.java 6 Sep 2006 15:30:55 -0000 1.21
@@ -43,7 +43,7 @@
* Captures cache management statistics
*
* @author Jerry Gauthier
- * @version $Id: CacheMgmtInterceptor.java,v 1.20 2006/09/05 18:09:56 msurtani Exp $
+ * @version $Id: CacheMgmtInterceptor.java,v 1.21 2006/09/06 15:30:55 msurtani Exp $
*/
public class CacheMgmtInterceptor extends Interceptor implements CacheMgmtInterceptorMBean, NotificationBroadcaster
{
@@ -349,14 +349,14 @@
public void cacheStarted(CacheSPI cache)
{
Notification n = new Notification(NOTIF_CACHE_STARTED, this, seq(), MSG_CACHE_STARTED);
- n.setUserData(cache.getServiceName());
+ n.setUserData(cache.getConfiguration().getServiceName());
m_broadcaster.sendNotification(n);
}
public void cacheStopped(CacheSPI cache)
{
Notification n = new Notification(NOTIF_CACHE_STOPPED, this, seq(), MSG_CACHE_STOPPED);
- n.setUserData(cache.getServiceName());
+ n.setUserData(cache.getConfiguration().getServiceName());
m_broadcaster.sendNotification(n);
}
More information about the jboss-cvs-commits
mailing list