org.objectweb.cjdbc.controller.jmx
Class JmxClient
java.lang.Object
org.objectweb.cjdbc.controller.jmx.JmxClient
- Direct Known Subclasses:
- ControllerJmxClient, VirtualDatabaseJmxClient
- public abstract class JmxClient
- extends java.lang.Object
This class is responsible for connecting to the JRMP adaptor of the MBean server
via the JRMP connector provided by mx4j.It is used to connect to the
JmxAgent or to any of its subclasses.
- Version:
- 1.0
- Author:
- Nicolas Modrzyk
Method Summary |
void |
connect(java.lang.String host,
java.lang.String port)
Find the naming service and connect tor the JmxAgent on the controller
side. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
protected mx4j.connector.RemoteMBeanServer server
remoteHostName
protected java.lang.String remoteHostName
remoteHostAddress
protected java.lang.String remoteHostAddress
JmxClient
public JmxClient()
connect
public void connect(java.lang.String host,
java.lang.String port)
throws JmxException
- Find the naming service and connect tor the JmxAgent on the controller
side.
- Parameters:
host
- the host where the controller is runningport
- on which the rmi has been set up
- Throws:
JmxException
- if fails
Copyright © 2002, 2003 - ObjectWeb Consortium - All Rights Reserved.