org.apache.geronimo.core.service
Interface Interceptor

All Known Implementing Classes:
ReflexiveInterceptor

public interface Interceptor

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:58:42 $

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-2005 Apache Software Foundation. All Rights Reserved.