Package org.apache.struts2.interceptor
Class ModelDrivenInterceptor.RefreshModelBeforeResult
java.lang.Object
org.apache.struts2.interceptor.ModelDrivenInterceptor.RefreshModelBeforeResult
- All Implemented Interfaces:
PreResultListener
- Enclosing class:
- ModelDrivenInterceptor
protected static class ModelDrivenInterceptor.RefreshModelBeforeResult
extends Object
implements PreResultListener
Refreshes the model instance on the value stack, if it has changed
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeResult
(ActionInvocation invocation, String resultCode)
-
Field Details
-
action
-
-
Constructor Details
-
RefreshModelBeforeResult
-
-
Method Details
-
beforeResult
Description copied from interface:PreResultListener
- Specified by:
beforeResult
in interfacePreResultListener
- Parameters:
invocation
- the action invocationresultCode
- the result code returned by the action (eg.success
).
-