org.mockejb.interceptor
Class InterceptorInvoker.CglibMethodInvoker

java.lang.Object
  extended byorg.mockejb.interceptor.InterceptorInvoker.CglibMethodInvoker
All Implemented Interfaces:
Interceptor
Enclosing class:
InterceptorInvoker

public static class InterceptorInvoker.CglibMethodInvoker
extends java.lang.Object
implements Interceptor

Calls the object's method using Cglib.


Constructor Summary
InterceptorInvoker.CglibMethodInvoker()
           
 
Method Summary
 void intercept(InvocationContext invocationContext)
          Performs pre and post invocation actions for the target object call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorInvoker.CglibMethodInvoker

public InterceptorInvoker.CglibMethodInvoker()
Method Detail

intercept

public void intercept(InvocationContext invocationContext)
               throws java.lang.Exception
Description copied from interface: Interceptor
Performs pre and post invocation actions for the target object call.

Specified by:
intercept in interface Interceptor
Parameters:
invocationContext - provides the info about this call. Also calls interceptors in turn according to their order in the chain. invocationContext provides access to the return value and thrown exceptions of this call.
Throws:
java.lang.Exception