mx4j.tools.adaptor.interceptor

Class TimingAdaptorInterceptor

Implemented Interfaces:
AdaptorInterceptorMBean, Interceptor, Invocable

public class TimingAdaptorInterceptor
extends AdaptorInterceptor

This interceptor registers and logs invocation times along the adaptor's interceptor chain

Version:
$Revision: 1.5 $

Method Summary

String
getType()
Returns the type of this interceptor
protected void
postInvoke(Invocation invocation)
protected void
preInvoke(Invocation invocation)

Methods inherited from class mx4j.tools.adaptor.interceptor.AdaptorInterceptor

doInvoke, getLogger, getMBeanServer, getNext, getObjectName, getType, invoke, isEnabled, postInvoke, preInvoke, setEnabled, setMBeanServer, setNext, setObjectName, toString

Method Details

getType

public String getType()
Returns the type of this interceptor
Specified by:
getType in interface Interceptor
getType in interface AdaptorInterceptorMBean
Overrides:
getType in interface AdaptorInterceptor


postInvoke

protected void postInvoke(Invocation invocation)
            throws Exception
Overrides:
postInvoke in interface AdaptorInterceptor


preInvoke

protected void preInvoke(Invocation invocation)
            throws Exception
Overrides:
preInvoke in interface AdaptorInterceptor


Copyright © 2001-2003 MX4J Team. All Rights Reserved.