mx4j.connector.rmi
Class RMIConnector

java.lang.Object
  |
  +--mx4j.connector.rmi.RMIConnector
All Implemented Interfaces:
JMXConnector
Direct Known Subclasses:
IIOPConnector, JRMPConnector

public abstract class RMIConnector
extends java.lang.Object
implements JMXConnector

Version:
$Revision: 1.5 $
Author:
Simone Bordet

Constructor Summary
RMIConnector()
           
 
Method Summary
 void connect(java.lang.String jndiName, java.util.Hashtable properties)
           
protected abstract  NotificationFilter createRemoteNotificationFilter(NotificationFilter listener)
           
protected abstract  NotificationListener createRemoteNotificationListener(NotificationListener listener)
           
 java.lang.String getRemoteHostAddress()
           
 java.lang.String getRemoteHostName()
           
 RemoteMBeanServer getRemoteMBeanServer()
           
protected  java.lang.Object invoke(java.lang.String methodName, java.lang.String[] signature, java.lang.Object[] arguments)
           
protected abstract  RMIProtocolAdaptor narrow(java.lang.Object object)
           
 void setInvocationContext(InvocationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mx4j.connector.JMXConnector
close
 

Constructor Detail

RMIConnector

public RMIConnector()
Method Detail

connect

public void connect(java.lang.String jndiName,
                    java.util.Hashtable properties)
             throws java.lang.Exception

getRemoteMBeanServer

public RemoteMBeanServer getRemoteMBeanServer()
Specified by:
getRemoteMBeanServer in interface JMXConnector

narrow

protected abstract RMIProtocolAdaptor narrow(java.lang.Object object)

setInvocationContext

public void setInvocationContext(InvocationContext context)

getRemoteHostName

public java.lang.String getRemoteHostName()

getRemoteHostAddress

public java.lang.String getRemoteHostAddress()

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 methodName,
                                  java.lang.String[] signature,
                                  java.lang.Object[] arguments)
                           throws java.lang.Exception