org.apache.geronimo.proxy
Class ReflexiveInterceptor

java.lang.Object
  extended byorg.apache.geronimo.proxy.ReflexiveInterceptor
All Implemented Interfaces:
Interceptor

public class ReflexiveInterceptor
extends Object
implements Interceptor

Version:
$Revision: 1.7 $ $Date: 2004/03/10 09:58:43 $

Constructor Summary
ReflexiveInterceptor(Object target)
           
 
Method Summary
 InvocationResult invoke(Invocation invocation)
          Interceptor does a little work for the invocation and then invokes the next interceptor in the chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflexiveInterceptor

public ReflexiveInterceptor(Object target)
Method Detail

invoke

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

Specified by:
invoke in interface Interceptor
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.