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:
- java.lang.reflect.InvocationHandler
- public class TracingInterceptor
- extends Interceptor
- Version:
- $Id: TracingInterceptor.java,v 1.9 2003/03/10 06:07:21 thma Exp $
- Author:
- Thomas Mahler
Method Summary |
protected void |
afterInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
this method will be invoked after methodToBeInvoked is invoked |
protected void |
beforeInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.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(java.lang.Object instanceToTrace)
beforeInvoke
protected void beforeInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
throws java.lang.Throwable
- Description copied from class:
Interceptor
- this method will be invoked before methodToBeInvoked is invoked
- Specified by:
beforeInvoke
in class Interceptor
- Throws:
java.lang.Throwable
- See Also:
org.apache.ojb.broker.util.InterceptingInvocationHandler#beforeInvoke(Object, Method, Object[])
afterInvoke
protected void afterInvoke(java.lang.Object proxy,
java.lang.reflect.Method methodToBeInvoked,
java.lang.Object[] args)
throws java.lang.Throwable
- Description copied from class:
Interceptor
- this method will be invoked after methodToBeInvoked is invoked
- Specified by:
afterInvoke
in class Interceptor
- Throws:
java.lang.Throwable
- See Also:
org.apache.ojb.broker.util.InterceptingInvocationHandler#afterInvoke(Object, Method, Object[])
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14