|
||||||||||
| 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 javax.management.NotificationFilter |
createRemoteNotificationFilter(javax.management.NotificationFilter listener)
|
protected abstract javax.management.NotificationListener |
createRemoteNotificationListener(javax.management.NotificationListener listener)
|
java.lang.String |
getRemoteHostAddress()
|
java.lang.String |
getRemoteHostName()
|
mx4j.connector.RemoteMBeanServer |
getRemoteMBeanServer()
Returns an object representing a remote MBeanServer |
protected java.lang.Object |
invoke(java.lang.String key,
javax.management.ObjectName objectName,
java.lang.String methodName,
java.lang.String[] signature,
java.lang.Object[] arguments)
|
protected abstract mx4j.adaptor.rmi.RemoteAdaptor |
narrow(java.lang.Object object)
|
void |
setInvocationContext(mx4j.adaptor.interceptor.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.NamingExceptionpublic mx4j.connector.RemoteMBeanServer getRemoteMBeanServer()
JMXConnector
getRemoteMBeanServer in interface JMXConnectorprotected abstract mx4j.adaptor.rmi.RemoteAdaptor narrow(java.lang.Object object)
public void setInvocationContext(mx4j.adaptor.interceptor.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.RemoteExceptionpublic void close()
JMXConnector
close in interface JMXConnector
protected abstract javax.management.NotificationListener createRemoteNotificationListener(javax.management.NotificationListener listener)
throws java.rmi.RemoteException
java.rmi.RemoteException
protected abstract javax.management.NotificationFilter createRemoteNotificationFilter(javax.management.NotificationFilter listener)
throws java.rmi.RemoteException
java.rmi.RemoteException
protected java.lang.Object invoke(java.lang.String key,
javax.management.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 | |||||||||