de.kruis.padoclet.util
Interface InvocationHandlerWithTarget

All Superinterfaces:
java.lang.reflect.InvocationHandler
All Known Implementing Classes:
FilterDocletBase.ComparableHandler, FilterDocletBase.HandlerBase, HalfDynamicProxy, PublishedApiDoclet.AnnotationDescHandler, PublishedApiDoclet.AnnotationTypeDocHandler, PublishedApiDoclet.ClassDocHandler, PublishedApiDoclet.DocHandler, PublishedApiDoclet.MethodDocHandler, PublishedApiDoclet.PackageDocHandler, PublishedApiDoclet.RootDocHandler

public interface InvocationHandlerWithTarget
extends java.lang.reflect.InvocationHandler

An invocationHandler with the two additional properties target and state.


Method Summary
 java.lang.Object getInvocationTarget()
          Get the target object, for which this invocation handler is a proxy for.
 void setupInvocationHandler(java.lang.Object target, java.lang.Object state)
          Initialize this invocation handler.
 

Method Detail

setupInvocationHandler

void setupInvocationHandler(java.lang.Object target,
                            java.lang.Object state)
Initialize this invocation handler.

Parameters:
target - object, for which this object is a proxy.
state - an arbitrary object used to hold state information

getInvocationTarget

java.lang.Object getInvocationTarget()
Get the target object, for which this invocation handler is a proxy for.

Returns:
the value of the target parameter of setupInvocationHandler(Object, Object).