org.hudsonci.maven.plugin.builder.internal.invoker
Class DelegatingInvocationHandler

java.lang.Object
  extended by org.hudsonci.maven.plugin.builder.internal.invoker.DelegatingInvocationHandler
All Implemented Interfaces:
InvocationHandler
Direct Known Subclasses:
CallbackCloseAwareHandler, ObjectLocalHandler, RecordingHandler

public class DelegatingInvocationHandler
extends Object
implements InvocationHandler

Handlers which delegates to another handler.

Since:
2.1.0
Author:
Jason Dillon

Field Summary
protected  Logger log
           
 
Constructor Summary
DelegatingInvocationHandler(InvocationHandler delegate)
           
 
Method Summary
 InvocationHandler getDelegate()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final Logger log
Constructor Detail

DelegatingInvocationHandler

public DelegatingInvocationHandler(InvocationHandler delegate)
Method Detail

getDelegate

public InvocationHandler getDelegate()

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2004-2011 Hudson. All Rights Reserved.