org.apache.geronimo.interceptor
Interface Interceptor


public interface Interceptor


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

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.