org.mule.interceptors
Class TimerInterceptor

java.lang.Object
  extended byorg.mule.interceptors.TimerInterceptor
All Implemented Interfaces:
UMOInterceptor

public class TimerInterceptor
extends java.lang.Object
implements UMOInterceptor

TimerInterceptor simply times and displays the time taken to process an event.

Version:
$Revision: 1.2 $
Author:
Ross Mason

Constructor Summary
TimerInterceptor()
           
 
Method Summary
 UMOMessage intercept(Invocation invocation)
          Invoked by the previous interceptor in the chain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerInterceptor

public TimerInterceptor()
Method Detail

intercept

public UMOMessage intercept(Invocation invocation)
                     throws UMOException
Description copied from interface: UMOInterceptor
Invoked by the previous interceptor in the chain

Specified by:
intercept in interface UMOInterceptor
Parameters:
invocation - the invocation containing info about the current message and component
Returns:
A result message that may have been altered by this invocation
Throws:
UMOException - if the invocation fails


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.