com.atlassian.confluence.jmx
Class JmxUtil

java.lang.Object
  extended by com.atlassian.confluence.jmx.JmxUtil

public class JmxUtil
extends java.lang.Object

Exposes various utility methods to simplify the process of registering / ungregistering MBeans.


Constructor Summary
JmxUtil()
           
 
Method Summary
static boolean isPossibleToExposeBeans()
           
static void registerBean(java.lang.String name, java.lang.Object value)
          Exposes an object as an MBean.
static void unregisterBean(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxUtil

public JmxUtil()
Method Detail

registerBean

public static void registerBean(java.lang.String name,
                                java.lang.Object value)
Exposes an object as an MBean.

Parameters:
name - the JNDI to expose the bean as
value - the bean to be exposed

isPossibleToExposeBeans

public static boolean isPossibleToExposeBeans()

unregisterBean

public static void unregisterBean(java.lang.String name)


Copyright © 2003-2014 Atlassian. All Rights Reserved.