com.opensymphony.xwork2.interceptor
Interface PreResultListener

All Known Implementing Classes:
AnnotationWorkflowInterceptor, ModelDrivenInterceptor.RefreshModelBeforeResult

public interface PreResultListener

PreResultListeners may be registered with an ActionInvocation to get a callback after the Action has been executed but before the Result is executed.

Author:
Jason Carreira

Method Summary
 void beforeResult(ActionInvocation invocation, String resultCode)
          This callback method will be called after the Action execution and before the Result execution.
 

Method Detail

beforeResult

void beforeResult(ActionInvocation invocation,
                  String resultCode)
This callback method will be called after the Action execution and before the Result execution.

Parameters:
invocation - the action invocation
resultCode - the result code returned by the action (eg. success).


Copyright © 2009 OpenSymphony. All Rights Reserved.