|
|||||||||
| Home >> All >> com >> mjh >> [ switchrmi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mjh.switchrmi
Class RmiClient

java.lang.Objectcom.mjh.switchrmi.RmiClient
- public class RmiClient
- extends java.lang.Object
RmiClient provides the client-side interface to connect to remote objects served by any of the remote method invocation transports.
| Field Summary | |
private javax.naming.Context |
ctx
|
private static org.apache.log4j.Logger |
log
|
| 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 |
| Field Detail |
log
private static final org.apache.log4j.Logger log
ctx
private javax.naming.Context ctx
| Constructor Detail |
RmiClient
public RmiClient()
throws java.lang.Exception
- Initialize a client for connecting to remote objects via HTTP.
RmiClient
public RmiClient(java.lang.String resourceName) throws java.lang.Exception
- Creates a new RmiClient object.
| Method Detail |
getJndiContext
public java.lang.Object getJndiContext()
- DOCUMENT ME!
connect
public java.lang.Object connect(java.lang.String url, java.lang.Class interfaze) throws java.lang.Exception
- Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interface.
connect
public java.lang.Object connect(java.lang.String url, java.lang.Class[] interfaces) throws java.lang.Exception
- Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interfaces.
connect
public java.lang.Object connect(java.lang.String url, java.lang.Class interfaze, java.lang.String protocolName) throws java.lang.Exception
- Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interfaces.
connect
public java.lang.Object connect(java.lang.String url, java.lang.Class[] interfaces, java.lang.String protocolName) throws java.lang.Exception
- Obtain a proxy for the remote obejct with the given URL to invoke methods in the specified interfaces.
|
|||||||||
| Home >> All >> com >> mjh >> [ switchrmi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.mjh.switchrmi.RmiClient