mrcode.duckprxy.impl
Class PrxyInvocationHanlder

java.lang.Object
  extended by mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
      extended by mrcode.duckprxy.impl.PrxyInvocationHanlder
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class PrxyInvocationHanlder
extends AbstractPrxyInvocationHandler

The heart of the the DuckPrxyImpl implementation.

Author:
Christian Haselbach

Nested Class Summary
 
Nested classes/interfaces inherited from class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
AbstractPrxyInvocationHandler.DelegateClassInformation
 
Field Summary
 
Fields inherited from class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
delegate
 
Constructor Summary
PrxyInvocationHanlder(java.lang.Object delegate)
           
 
Method Summary
 java.lang.reflect.Method getSubDelegateGetter()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class mrcode.duckprxy.impl.AbstractPrxyInvocationHandler
getDelegateArguments, getDelegateClassInformation, getDuckArg, getSubDelegate, makeStrategies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrxyInvocationHanlder

public PrxyInvocationHanlder(java.lang.Object delegate)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

getSubDelegateGetter

public java.lang.reflect.Method getSubDelegateGetter()
Specified by:
getSubDelegateGetter in class AbstractPrxyInvocationHandler


Copyright © 2008. All Rights Reserved.