org.outerj.xreporter.util
Class AbstractInvocationHandler
java.lang.Object
org.outerj.xreporter.util.AbstractInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- Direct Known Subclasses:
- CheckLockedInvocationHandler, ResetTimeoutInvocationHandler
- public abstract class AbstractInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
Abstract base class for InvocationHandler's. Implement the doInvoke method in subclasses.
Method Summary |
abstract java.lang.Object |
doInvoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
protected java.lang.Boolean |
proxyEquals(java.lang.Object proxy,
java.lang.Object other)
|
protected java.lang.Integer |
proxyHashCode(java.lang.Object proxy)
|
protected java.lang.String |
proxyToString(java.lang.Object proxy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hashCodeMethod
protected static java.lang.reflect.Method hashCodeMethod
equalsMethod
protected static java.lang.reflect.Method equalsMethod
toStringMethod
protected static java.lang.reflect.Method toStringMethod
AbstractInvocationHandler
public AbstractInvocationHandler()
doInvoke
public abstract java.lang.Object doInvoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
proxyHashCode
protected java.lang.Integer proxyHashCode(java.lang.Object proxy)
proxyEquals
protected java.lang.Boolean proxyEquals(java.lang.Object proxy,
java.lang.Object other)
proxyToString
protected java.lang.String proxyToString(java.lang.Object proxy)