|
|||||||||
| 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 RmiClientInvocationHandler

java.lang.Objectcom.mjh.switchrmi.RmiInvocationHandlerBase
com.mjh.switchrmi.RmiClientInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- public class RmiClientInvocationHandler
- extends RmiInvocationHandlerBase
| Field Summary | |
private RmiContext |
context
|
private RmiHandler |
handler
|
private javax.naming.Context |
jndiContext
|
private static org.apache.log4j.Logger |
log
|
private java.lang.String |
protocolName
|
private java.lang.String |
targetUrl
|
| Fields inherited from class com.mjh.switchrmi.RmiInvocationHandlerBase |
|
| Constructor Summary | |
RmiClientInvocationHandler(java.lang.String url,
java.lang.Class[] intrfaces)
|
|
RmiClientInvocationHandler(java.lang.String url,
java.lang.Class[] intrfaces,
java.lang.String protocolName,
javax.naming.Context ctx)
|
|
| Method Summary | |
private void |
init()
|
java.lang.Object |
rmiInvoke(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class com.mjh.switchrmi.RmiInvocationHandlerBase |
invoke |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
log
private static final org.apache.log4j.Logger log
targetUrl
private java.lang.String targetUrl
protocolName
private java.lang.String protocolName
context
private RmiContext context
handler
private RmiHandler handler
jndiContext
private javax.naming.Context jndiContext
| Constructor Detail |
RmiClientInvocationHandler
public RmiClientInvocationHandler(java.lang.String url, java.lang.Class[] intrfaces)
RmiClientInvocationHandler
public RmiClientInvocationHandler(java.lang.String url, java.lang.Class[] intrfaces, java.lang.String protocolName, javax.naming.Context ctx)
| Method Detail |
init
private void init()
throws java.lang.Exception
rmiInvoke
public java.lang.Object rmiInvoke(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
rmiInvokein classRmiInvocationHandlerBase
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> com >> mjh >> [ switchrmi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC