|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.mjh.switchrmi.RmiClient
RmiClient provides the client-side interface to connect to remote objects served by any of the remote method invocation transports.
| Constructor Summary | |
RmiClient()
Initialize a client for connecting to remote objects via HTTP. |
|
RmiClient(java.lang.String resourceName)
Creates a new RmiClient object. |
|
| Method Summary | |
java.lang.Object |
connect(java.lang.String url,
java.lang.Class interfaze)
Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interface. |
java.lang.Object |
connect(java.lang.String url,
java.lang.Class[] interfaces)
Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interfaces. |
java.lang.Object |
connect(java.lang.String url,
java.lang.Class[] interfaces,
java.lang.String protocolName)
Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interfaces. |
java.lang.Object |
connect(java.lang.String url,
java.lang.Class interfaze,
java.lang.String protocolName)
Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interfaces. |
java.lang.Object |
getJndiContext()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RmiClient()
throws java.lang.Exception
public RmiClient(java.lang.String resourceName)
throws java.lang.Exception
resourceName - DOCUMENT ME!
java.lang.Exception - DOCUMENT ME!| Method Detail |
public java.lang.Object getJndiContext()
public java.lang.Object connect(java.lang.String url,
java.lang.Class interfaze)
throws java.lang.Exception
url - a valid remote object URL, valid URLS end in /name.protocol
java.lang.Exception
public java.lang.Object connect(java.lang.String url,
java.lang.Class[] interfaces)
throws java.lang.Exception
url - a valid remote object URL, valid URLS end in /name.protocolinterfaces - an array of Java interfaces implemented by the remote object.
java.lang.Exception
public java.lang.Object connect(java.lang.String url,
java.lang.Class interfaze,
java.lang.String protocolName)
throws java.lang.Exception
url - a valid URL,for the remote transport methodprotocolName - a valid RMI invocation protocol. Valid names are specified in RmiProtocol.
java.lang.ExceptionRmiProtocol
public java.lang.Object connect(java.lang.String url,
java.lang.Class[] interfaces,
java.lang.String protocolName)
throws java.lang.Exception
url - a valid URL,for the remote transport methodinterfaces - an array of Java interfaces implemented by the remote object.protocolName - a valid RMI invocation protocol. Valid names are specified in RmiProtocol.
java.lang.ExceptionRmiProtocol.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||