org.jboss.seam.util
Class DelegatingInvocationHandler<T>
java.lang.Object
org.jboss.seam.util.DelegatingInvocationHandler<T>
- All Implemented Interfaces:
- InvocationHandler
public class DelegatingInvocationHandler<T>
- extends Object
- implements InvocationHandler
An InvocationHandler implementation that delegates method invocations to a specified object,
optionally allowing the method to be overridden locally.
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingInvocationHandler
public DelegatingInvocationHandler(T delegate)
getDelegate
public T getDelegate()
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable