java.lang.Object
com.mjh.switchrmi.RmiInvocationHandlerBase
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- Direct Known Subclasses:
- RmiClientInvocationHandler
- public abstract class RmiInvocationHandlerBase
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.log4j.Logger log
illegalMethods
private static java.util.HashMap illegalMethods
interfaces
private java.lang.Class[] interfaces
RmiInvocationHandlerBase
public RmiInvocationHandlerBase(java.lang.Class[] interfaces)
invoke
public java.lang.Object invoke(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Description copied from interface:
java.lang.reflect.InvocationHandler
- When a method is invoked on a proxy instance, it is wrapped and
this method is called instead, so that you may decide at runtime
how the original method should behave.
- Specified by:
invoke in interface java.lang.reflect.InvocationHandler
rmiInvoke
public abstract java.lang.Object rmiInvoke(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
methodIsInInterfaces
private boolean methodIsInInterfaces(java.lang.reflect.Method method)