TimerInterceptor (Mule ESB 2.2.1 API)
Keywords: org.mule.interceptor.TimerInterceptor class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.interceptor
Class TimerInterceptor

    java.lang.Object
      org.mule.interceptor.TimerInterceptor

All Implemented Interfaces:
  Interceptor

    public class TimerInterceptor

extends Object
implements Interceptor

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

Constructor Summary
`TimerInterceptor()`

Method Summary
`MuleMessage` | `intercept(Invocation invocation)` Invoked when the component should be called.

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 MuleMessage intercept(Invocation invocation)
                          throws MuleException

  Description copied from interface: `Interceptor`
  Invoked when the component should be called. The implementation can call `Invocation#execute()` to call the component.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.