org.jboss.cache.jmx
Class JmxUtil
java.lang.Object
org.jboss.cache.jmx.JmxUtil
public class JmxUtil
- extends Object
Various JMX related utilities
- Version:
- $Id: JmxUtil.java 6120 2008-06-30 11:58:59Z manik.surtani@jboss.com $
- Author:
- Jerry Gauthier, Manik Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBOSS_SERVER_DOMAIN
public static final String JBOSS_SERVER_DOMAIN
- See Also:
- Constant Field Values
JBOSS_CACHE_DOMAIN
public static final String JBOSS_CACHE_DOMAIN
- See Also:
- Constant Field Values
SERVICE_KEY_NAME
public static final String SERVICE_KEY_NAME
- See Also:
- Constant Field Values
BASE_PREFIX
public static final String BASE_PREFIX
- See Also:
- Constant Field Values
CLUSTER_KEY
public static final String CLUSTER_KEY
- See Also:
- Constant Field Values
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
UNIQUE_ID_KEY
public static final String UNIQUE_ID_KEY
- See Also:
- Constant Field Values
NO_CLUSTER_PREFIX
public static final String NO_CLUSTER_PREFIX
- See Also:
- Constant Field Values
CACHE_TYPE_KEY
public static final String CACHE_TYPE_KEY
- See Also:
- Constant Field Values
PLAIN_CACHE_TYPE
public static final String PLAIN_CACHE_TYPE
- See Also:
- Constant Field Values
MBEAN_CLASS_SUFFIX
public static final String MBEAN_CLASS_SUFFIX
- See Also:
- Constant Field Values
INTERCEPTOR_KEY
public static final String INTERCEPTOR_KEY
- See Also:
- Constant Field Values
JmxUtil
public JmxUtil()
registerCacheMBean
public static void registerCacheMBean(MBeanServer server,
CacheJmxWrapperMBean cache,
String cacheObjectName)
throws JMException
- Throws:
JMException
registerInterceptors
public static void registerInterceptors(MBeanServer server,
List<CommandInterceptor> interceptors,
String cacheObjectName)
throws JMException
- Throws:
JMException
getDefaultCacheObjectName
public static String getDefaultCacheObjectName(Cache cache)
getDefaultCacheObjectName
public static String getDefaultCacheObjectName(Configuration config,
String cacheImplClass)
getUniqueId
public static String getUniqueId(String cacheImplClass)
unregisterCacheMBean
public static void unregisterCacheMBean(MBeanServer server,
String cacheObjectName)
throws Exception
- Throws:
Exception
unregisterInterceptors
public static void unregisterInterceptors(MBeanServer server,
List<CommandInterceptor> interceptors,
String cacheObjectName)
throws Exception
- Throws:
Exception
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.