com.atlassian.confluence.jmx
Class JmxUtil

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

public class JmxUtil
extends Object

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


Constructor Summary
JmxUtil()
           
 
Method Summary
static boolean isPossibleToExposeBeans()
           
static void registerBean(String name, Object value)
          Exposes an object as an MBean.
static void unregisterBean(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(String name,
                                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(String name)


Copyright © 2003-2013 Atlassian. All Rights Reserved.