org.apache.geronimo.core.service
Interface Interceptor

All Known Implementing Classes:
ReflexiveInterceptor

public interface Interceptor

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Method Summary
 InvocationResult invoke(Invocation invocation)
          Interceptor does a little work for the invocation and then invokes the next interceptor in the chain.
 

Method Detail

invoke

public InvocationResult invoke(Invocation invocation)
                        throws Throwable
Interceptor does a little work for the invocation and then invokes the next interceptor in the chain.

Parameters:
invocation - the invocation for which work will be done
Returns:
the result of the invocation (includes return or application Exception)
Throws:
Throwable - if a system exception occures while doing the work


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.