org.dozer.jmx
Class JMXPlatformImpl
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMXPlatformImpl
public JMXPlatformImpl()
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.