org.kuali.rice.core.util.reflect
Class BaseInvocationHandler
java.lang.Object
org.kuali.rice.core.util.reflect.BaseInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
- Direct Known Subclasses:
- AsynchronousServiceCallProxy, BaseTargetedInvocationHandler, DelayedAsynchronousServiceCallProxy
public abstract class BaseInvocationHandler
- extends Object
- implements InvocationHandler
An abstract base class for InvocationHanlders which can be used to implement
an InvocationHandler that delegates hashCode and equals methods to the proxied
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hashCodeMethod
private static Method hashCodeMethod
equalsMethod
private static Method equalsMethod
BaseInvocationHandler
public BaseInvocationHandler()
invoke
public Object invoke(Object proxy,
Method method,
Object[] arguments)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
invokeInternal
protected abstract Object invokeInternal(Object proxy,
Method method,
Object[] arguments)
throws Throwable
- Throws:
Throwable
proxyHashCode
protected Integer proxyHashCode(Object proxy)
proxyEquals
protected Boolean proxyEquals(Object proxy,
Object other)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.