org.omnaest.utils.proxy
Class MethodCallCapturer.MethodCaptureMethodInvocationHandler

java.lang.Object
  extended by org.omnaest.utils.proxy.MethodCallCapturer.MethodCaptureMethodInvocationHandler
All Implemented Interfaces:
MethodInvocationHandler
Enclosing class:
MethodCallCapturer

protected class MethodCallCapturer.MethodCaptureMethodInvocationHandler
extends Object
implements MethodInvocationHandler

MethodInterceptor for the MethodCallCapturer.

Author:
Omnaest

Field Summary
protected  MethodCallCapturer.CapturedTypeInstanceCreationConfiguration capturedTypeInstanceCreationConfiguration
           
 
Constructor Summary
MethodCallCapturer.MethodCaptureMethodInvocationHandler(MethodCallCapturer.CapturedTypeInstanceCreationConfiguration capturedTypeInstanceCreationConfiguration)
           
 
Method Summary
 Object handle(MethodCallCapture methodCallCapture)
          Handles a method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capturedTypeInstanceCreationConfiguration

protected MethodCallCapturer.CapturedTypeInstanceCreationConfiguration capturedTypeInstanceCreationConfiguration
Constructor Detail

MethodCallCapturer.MethodCaptureMethodInvocationHandler

public MethodCallCapturer.MethodCaptureMethodInvocationHandler(MethodCallCapturer.CapturedTypeInstanceCreationConfiguration capturedTypeInstanceCreationConfiguration)
Method Detail

handle

public Object handle(MethodCallCapture methodCallCapture)
Description copied from interface: MethodInvocationHandler
Handles a method invocation.

Specified by:
handle in interface MethodInvocationHandler
Returns:
See Also:
MethodCallCapture


Copyright © 2013. All Rights Reserved.