net.sf.morph.util
Class AnyAccessDelegatingInvocationHandler

java.lang.Object
  extended by net.sf.composite.util.DelegatingInvocationHandler
      extended by net.sf.morph.util.AnyAccessDelegatingInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class AnyAccessDelegatingInvocationHandler
extends net.sf.composite.util.DelegatingInvocationHandler

DelegatingInvocationHandler that uses reflection to invoke non-public methods that match invocation signatures.


Constructor Summary
AnyAccessDelegatingInvocationHandler(java.lang.Object delegate)
          Construct a new AnyAccessDelegatingInvocationHandler.
 
Method Summary
protected  java.lang.reflect.Method getDelegateMethod(java.lang.Object delegate, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class net.sf.composite.util.DelegatingInvocationHandler
getDelegate, getDelegate, invoke, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnyAccessDelegatingInvocationHandler

public AnyAccessDelegatingInvocationHandler(java.lang.Object delegate)
Construct a new AnyAccessDelegatingInvocationHandler.

Parameters:
delegate -
Method Detail

getDelegateMethod

protected java.lang.reflect.Method getDelegateMethod(java.lang.Object delegate,
                                                     java.lang.reflect.Method method,
                                                     java.lang.Object[] args)
                                              throws java.lang.Exception
Overrides:
getDelegateMethod in class net.sf.composite.util.DelegatingInvocationHandler
Throws:
java.lang.Exception


Copyright © 2004-2008.