org.dozer.jmx
Class JMXPlatformImpl

java.lang.Object
  extended by org.dozer.jmx.JMXPlatformImpl
All Implemented Interfaces:
JMXPlatform

public class JMXPlatformImpl
extends Object
implements JMXPlatform

Default JMX Platform implementation working with java.lang.management.ManagementFactory.

Author:
dmitry.buzdin

Constructor Summary
JMXPlatformImpl()
           
 
Method Summary
 boolean isAvailable()
          Checks whether JMX management platform is available on the JVM
 void registerMBean(String name, Object bean)
           
 void unregisterMBean(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXPlatformImpl

public JMXPlatformImpl()
Method Detail

isAvailable

public boolean isAvailable()
Description copied from interface: JMXPlatform
Checks whether JMX management platform is available on the JVM

Specified by:
isAvailable in interface JMXPlatform
Returns:
true if KMX platform is available

registerMBean

public void registerMBean(String name,
                          Object bean)
                   throws MalformedObjectNameException,
                          MBeanRegistrationException,
                          NotCompliantMBeanException
Specified by:
registerMBean in interface JMXPlatform
Throws:
MalformedObjectNameException
MBeanRegistrationException
NotCompliantMBeanException

unregisterMBean

public void unregisterMBean(String name)
                     throws MBeanRegistrationException,
                            MalformedObjectNameException
Specified by:
unregisterMBean in interface JMXPlatform
Throws:
MBeanRegistrationException
MalformedObjectNameException


Copyright © 2005-2011 dozer. All Rights Reserved.