org.objectweb.jonas.jmx.utils
Class ConnectorUtils

java.lang.Object
  extended by org.objectweb.jonas.jmx.utils.ConnectorUtils

public class ConnectorUtils
extends Object

JMX Connector related utility methods.

Author:
Guillaume Sauthier

Method Summary
static String getProtocolFromJmxConnectorUrl(String url)
          Extract the protocol from a JMX connector URL
static String getProviderUrlFromJmxConnectorUrl(String url)
          Get the provider url from a JMX connector URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProtocolFromJmxConnectorUrl

public static String getProtocolFromJmxConnectorUrl(String url)
Extract the protocol from a JMX connector URL

Parameters:
url - JMX connector url to parse
Returns:
protocol associated with the url

getProviderUrlFromJmxConnectorUrl

public static String getProviderUrlFromJmxConnectorUrl(String url)
Get the provider url from a JMX connector URL

Parameters:
url - JMX connector url to parse
Returns:
provider url associated with the url


Copyright © 2007 OW2 Consortium. All Rights Reserved.