01: /*
02: * Copyright (c) 2002-2006 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.xwork.interceptor;
06:
07: import com.opensymphony.xwork.ActionInvocation;
08:
09: /**
10: * PreResultListeners may be registered with an ActionInvocation to get a callback after the Action has been executed
11: * but before the Result is executed.
12: *
13: * @author Jason Carreira
14: * Date: Nov 13, 2003 10:55:02 PM
15: */
16: public interface PreResultListener {
17:
18: /**
19: * This callback method will be called after the Action execution and before the Result execution.
20: *
21: * @param invocation
22: * @param resultCode
23: */
24: void beforeResult(ActionInvocation invocation, String resultCode);
25: }
|