mx4j.connector.rmi
Class RMIConnector
java.lang.Object
|
+--mx4j.connector.rmi.RMIConnector
- All Implemented Interfaces:
- JMXConnector, java.io.Serializable
- Direct Known Subclasses:
- IIOPConnector, JRMPConnector
- public abstract class RMIConnector
- extends java.lang.Object
- implements JMXConnector, java.io.Serializable
Client-side connector for Remote Method Invocation.
This is a base class for RMI/JRMP and RMI/IIOP connectors.
- Version:
- $Revision: 1.14 $
- Author:
- Simone Bordet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMIConnector
public RMIConnector()
connect
public void connect(java.lang.String jndiName,
java.util.Hashtable properties)
throws javax.naming.NamingException
- Connect to a server-side adaptor using the given JNDI name and JNDI properties.
getRemoteMBeanServer
public RemoteMBeanServer getRemoteMBeanServer()
- Description copied from interface:
JMXConnector
- Returns an object representing a remote MBeanServer
- Specified by:
getRemoteMBeanServer
in interface JMXConnector
narrow
protected abstract RemoteAdaptor narrow(java.lang.Object object)
setInvocationContext
public void setInvocationContext(InvocationContext context)
getRemoteHostName
public java.lang.String getRemoteHostName()
throws java.rmi.RemoteException
getRemoteHostAddress
public java.lang.String getRemoteHostAddress()
throws java.rmi.RemoteException
close
public void close()
- Description copied from interface:
JMXConnector
- Closes this connector
- Specified by:
close
in interface JMXConnector
createRemoteNotificationListener
protected abstract NotificationListener createRemoteNotificationListener(NotificationListener listener)
throws java.rmi.RemoteException
createRemoteNotificationFilter
protected abstract NotificationFilter createRemoteNotificationFilter(NotificationFilter listener)
throws java.rmi.RemoteException
invoke
protected java.lang.Object invoke(java.lang.String key,
ObjectName objectName,
java.lang.String methodName,
java.lang.String[] signature,
java.lang.Object[] arguments)
throws java.lang.Exception
Copyright © 2001-2002 MX4J Team. All Rights Reserved.