|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mx4j.connector.rmi.RMIConnector
Client-side connector for Remote Method Invocation.
This is a base class for RMI/JRMP and RMI/IIOP connectors.
Constructor Summary | |
---|---|
RMIConnector()
|
Method Summary | |
---|---|
void |
close()
Closes this connector |
void |
connect(java.lang.String jndiName,
java.util.Hashtable properties)
Connect to a server-side adaptor using the given JNDI name and JNDI properties. |
protected abstract NotificationFilter |
createRemoteNotificationFilter(NotificationFilter listener)
|
protected abstract NotificationListener |
createRemoteNotificationListener(NotificationListener listener)
|
java.lang.String |
getRemoteHostAddress()
|
java.lang.String |
getRemoteHostName()
|
RemoteMBeanServer |
getRemoteMBeanServer()
Returns an object representing a remote MBeanServer |
protected java.lang.Object |
invoke(java.lang.String key,
ObjectName objectName,
java.lang.String methodName,
java.lang.String[] signature,
java.lang.Object[] arguments)
|
protected abstract RemoteAdaptor |
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 |
Constructor Detail |
public RMIConnector()
Method Detail |
public void connect(java.lang.String jndiName, java.util.Hashtable properties) throws javax.naming.NamingException
javax.naming.NamingException
public RemoteMBeanServer getRemoteMBeanServer()
JMXConnector
getRemoteMBeanServer
in interface JMXConnector
protected abstract RemoteAdaptor narrow(java.lang.Object object)
public void setInvocationContext(InvocationContext context)
public java.lang.String getRemoteHostName() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.String getRemoteHostAddress() throws java.rmi.RemoteException
java.rmi.RemoteException
public void close()
JMXConnector
close
in interface JMXConnector
protected abstract NotificationListener createRemoteNotificationListener(NotificationListener listener) throws java.rmi.RemoteException
java.rmi.RemoteException
protected abstract NotificationFilter createRemoteNotificationFilter(NotificationFilter listener) throws java.rmi.RemoteException
java.rmi.RemoteException
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
java.lang.Exception
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |