com.sun.xml.ws.api.config.management.jmx
Class JmxUtil

java.lang.Object
  extended by com.sun.xml.ws.api.config.management.jmx.JmxUtil

public class JmxUtil
extends Object

Provides utility methods for use by both JMX clients as well as the JMX agent implementation.

Author:
Fabian Ritzmann

Method Summary
static ObjectName getObjectName(String serviceId)
          Computes the object name of the web service management MBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getObjectName

public static ObjectName getObjectName(String serviceId)
                                throws MalformedObjectNameException,
                                       IllegalArgumentException
Computes the object name of the web service management MBean.

Parameters:
serviceId - The ID of the web service endpoint. Must not be null.
Returns:
The name of the management MBean.
Throws:
MalformedObjectNameException - If the serviceId yields an invalid URL.
IllegalArgumentException - If the serviceId is null.


Copyright © 2005-2012 Oracle Corporation. All Rights Reserved.