「Struts2開発」ActionInvocationのインターフェースの定義コード
Javaコード
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionEventListener;
import com.opensymphony.xwork2.ActionProxy;
import com.opensymphony.xwork2.Result;
import com.opensymphony.xwork2.interceptor.PreResultListener;
import com.opensymphony.xwork2.util.ValueStack;
import java.io.Serializable;
public interface ActionInvocation extends Serializable {
Object getAction();
boolean isExecuted();
ActionContext getInvocationContext();
ActionProxy getProxy();
Result getResult() throws Exception;
String getResultCode();
void setResultCode(String arg0);
ValueStack getStack();
void addPreResultListener(PreResultListener arg0);
String invoke() throws Exception;
String invokeActionOnly() throws Exception;
void setActionEventListener(ActionEventListener arg0);
void init(ActionProxy arg0);
ActionInvocation serialize();
ActionInvocation deserialize(ActionContext arg0);
}