org.apache.ojb.broker.util.interceptor
Class TracingInterceptor
java.lang.Object
org.apache.ojb.broker.util.interceptor.Interceptor
org.apache.ojb.broker.util.interceptor.TracingInterceptor
- All Implemented Interfaces:
- InvocationHandler
public class TracingInterceptor
- extends Interceptor
- Version:
- $Id: TracingInterceptor.java,v 1.1 2007-08-24 22:17:39 ewestfal Exp $
- Author:
- Thomas Mahler
|
Method Summary |
protected void |
afterInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
this method will be invoked after methodToBeInvoked is invoked |
protected void |
beforeInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
this method will be invoked before methodToBeInvoked is invoked |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TracingInterceptor
public TracingInterceptor(Object instanceToTrace)
beforeInvoke
protected void beforeInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
throws Throwable
- Description copied from class:
Interceptor
- this method will be invoked before methodToBeInvoked is invoked
- Specified by:
beforeInvoke in class Interceptor
- Throws:
Throwable- See Also:
org.apache.ojb.broker.util.InterceptingInvocationHandler#beforeInvoke(Object, Method, Object[])
afterInvoke
protected void afterInvoke(Object proxy,
Method methodToBeInvoked,
Object[] args)
throws Throwable
- Description copied from class:
Interceptor
- this method will be invoked after methodToBeInvoked is invoked
- Specified by:
afterInvoke in class Interceptor
- Throws:
Throwable- See Also:
org.apache.ojb.broker.util.InterceptingInvocationHandler#afterInvoke(Object, Method, Object[])
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.