org.mule.management.support
Class JmxLegacySupport
java.lang.Object
org.mule.management.support.AbstractJmxSupport
org.mule.management.support.JmxLegacySupport
- All Implemented Interfaces:
- JmxSupport
- public class JmxLegacySupport
- extends AbstractJmxSupport
Support class for JMX 1.1 based systems.
|
Method Summary |
String |
escape(String name)
Uses simpler rules for escaping non-JMX compliant chars. |
ObjectName |
getObjectName(String name)
For modern JMX implementation just delegate to a standard factory method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxLegacySupport
public JmxLegacySupport()
escape
public String escape(String name)
- Uses simpler rules for escaping non-JMX compliant chars.
Much of the work has already been performed in
ObjectNameHelper.
- Parameters:
name - value to escape for JMX compliance
- Returns:
- value valid for JMX
getObjectName
public ObjectName getObjectName(String name)
throws MalformedObjectNameException
- For modern JMX implementation just delegate to a standard factory method.
- Parameters:
name - object name
- Returns:
- ObjectName for MBeanServer
- Throws:
javax.management.MalformedObjectNameException - for invalid names
MalformedObjectNameException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.