org.codehaus.waffle.action.intercept
Interface InterceptorChain

All Known Implementing Classes:
DefaultInterceptorChain

public interface InterceptorChain

Manages the collection of MethodInterceptors registered for use with Application


Method Summary
 java.lang.Object proceed(ControllerDefinition controllerDefinition, java.lang.reflect.Method method, java.lang.Object... args)
          Continues on to the next MethodInterceptor or invokes the Controller's action method.
 

Method Detail

proceed

java.lang.Object proceed(ControllerDefinition controllerDefinition,
                         java.lang.reflect.Method method,
                         java.lang.Object... args)
                         throws java.lang.IllegalAccessException,
                                java.lang.reflect.InvocationTargetException
Continues on to the next MethodInterceptor or invokes the Controller's action method.

Parameters:
controllerDefinition - the controller definition instance which owns the action method being invoked
method - the actual action method to be invoked
args - are the argument values to satisfy the action method invocation
Returns:
the result from the action method's invocation, or result from this or another MethodInterceptor
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException


Copyright © 2008. All Rights Reserved.