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 java.lang.Object

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

Author:
Fabian Ritzmann

Method Summary
static javax.management.ObjectName getObjectName(java.lang.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 javax.management.ObjectName getObjectName(java.lang.String serviceId)
                                                 throws javax.management.MalformedObjectNameException,
                                                        java.lang.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:
javax.management.MalformedObjectNameException - If the serviceId yields an invalid URL.
java.lang.IllegalArgumentException - If the serviceId is null.


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