org.ow2.carol.cmi.admin
Class CMIAdminConnectorManager

java.lang.Object
  extended by org.ow2.carol.cmi.admin.CMIAdminConnectorManager

@NotThreadSafe
public final class CMIAdminConnectorManager
extends java.lang.Object

This helper class allow to start a JMX remote connector allowing to connect remote applications.

Author:
new CMI Team

Method Summary
static javax.management.remote.JMXServiceURL getJMXServiceURL(java.lang.String protocolName)
           
static void startConnector(java.lang.String protocol, java.lang.String providerURL)
          Start a JMX connector (used to do remote administration).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startConnector

public static void startConnector(java.lang.String protocol,
                                  java.lang.String providerURL)
                           throws CMIMBeanConfigException
Start a JMX connector (used to do remote administration).

Parameters:
protocol - a protocol name
providerURL - a provider URL to register the connector
Throws:
CMIMBeanConfigException - if the connector can't be started.

getJMXServiceURL

public static javax.management.remote.JMXServiceURL getJMXServiceURL(java.lang.String protocolName)
Parameters:
protocolName - a name of protocol
Returns:
the JMX service URL for the given protocol or null if the protocol doesn't exist


Copyright © 2008 OW2 Consortium. All Rights Reserved.