View Javadoc

1   package org.seasar.cubby.controller;
2   
3   import java.lang.reflect.Method;
4   
5   import org.seasar.cubby.action.Action;
6   import org.seasar.cubby.action.ActionResult;
7   import org.seasar.cubby.action.Validation;
8   import org.seasar.framework.container.ComponentDef;
9   
10  /**
11   * アクションメソッドの実行時のコンテキスト情報を保持するインターフェイス
12   * 
13   * @author agata
14   * @since 1.0
15   */
16  public interface ActionContext {
17  
18  	void initialize(ActionDef actionDef);
19  
20  	ActionResult invoke() throws Throwable;
21  
22  	ComponentDef getComponentDef();
23  
24  	Action getAction();
25  
26  	Method getMethod();
27  
28  	Validation getValidation();
29  
30  	Object getFormBean();
31  
32  	Populator getPopulator();
33  
34  }