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

java.lang.Object
  extended by org.hudsonci.maven.plugin.builder.internal.invoker.DelegatingInvocationHandler
      extended by org.hudsonci.maven.plugin.builder.internal.invoker.RecordingHandler
All Implemented Interfaces:
InvocationHandler

public class RecordingHandler
extends DelegatingInvocationHandler

Handler which records invocations.

Since:
2.1.0
Author:
Jason Dillon

Field Summary
static String INVOCATION_STREAM
           
 
Fields inherited from class org.hudsonci.maven.plugin.builder.internal.invoker.DelegatingInvocationHandler
log
 
Constructor Summary
RecordingHandler(InvocationHandler delegate, File file)
           
 
Method Summary
 void close()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class org.hudsonci.maven.plugin.builder.internal.invoker.DelegatingInvocationHandler
getDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVOCATION_STREAM

public static final String INVOCATION_STREAM
See Also:
Constant Field Values
Constructor Detail

RecordingHandler

public RecordingHandler(InvocationHandler delegate,
                        File file)
                 throws IOException
Throws:
IOException
Method Detail

invoke

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

close

public void close()


Copyright © 2004-2011 Hudson. All Rights Reserved.