|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.terasoluna.fw.web.struts.action.resolver.AbstractActionResolver
jp.terasoluna.fw.web.struts.action.resolver.GeneralActionResolver
public class GeneralActionResolver
GeneralActionResolver
アクションパスとActionを結びつけるアクションリゾルバ。
結びつけるActionのBean定義のスコープは prototype で定義しておくこと。
モジュール分割を行う場合は、ContextLoaderListener から読み込まれるBean定義ファイル(applicationContext.xmlなど)には定義せず、
ContextLoaderPlugIn から読み込まれるBean定義ファイル(moduleContext.xmlなど)にモジュールごとに定義すること。
DelegatingRequestProcessorEx,
DefaultDelegateActionHandler,
ActionResolver,
AbstractActionResolver| フィールドの概要 | |
|---|---|
protected ConcurrentHashMap<String,org.apache.struts.action.Action> |
actionMap
Actionキャッシュ |
| クラス jp.terasoluna.fw.web.struts.action.resolver.AbstractActionResolver から継承されたフィールド |
|---|
actionName, configReflectorMap, lock, pathPatterns, regexMap |
| インタフェース org.springframework.core.Ordered から継承されたフィールド |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| コンストラクタの概要 | |
|---|---|
GeneralActionResolver()
|
|
| メソッドの概要 | |
|---|---|
protected org.apache.struts.action.Action |
extensionProcess(Object key,
org.apache.struts.action.Action action,
String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
アクションに対する追加処理 |
protected org.apache.struts.action.Action |
getActionCache(Object cacheKey)
アクションキャッシュから取得する。 |
protected Object |
getActionCacheKey(String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
アクションキャッシュキーを取得する |
protected boolean |
isBeanExist(String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
Bean存在チェック |
protected boolean |
isCacheEnabled(Object key,
org.apache.struts.action.Action resultAction,
String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
キャッシュすべきかどうか判定する |
protected void |
putActionCache(Object cacheKey,
org.apache.struts.action.Action action)
アクションキャッシュに格納する。 |
| クラス jp.terasoluna.fw.web.struts.action.resolver.AbstractActionResolver から継承されたメソッド |
|---|
callConfigurationReflector, getDelegateAction, getOrder, setActionName, setOrder, setPathPattern, setPathPatterns, supports |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected ConcurrentHashMap<String,org.apache.struts.action.Action> actionMap
| コンストラクタの詳細 |
|---|
public GeneralActionResolver()
| メソッドの詳細 |
|---|
protected boolean isBeanExist(String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
AbstractActionResolver の記述:
AbstractActionResolver 内の isBeanExistbeanName - String Bean名mapping - ActionMappingservlet - ActionServletwac - WebApplicationContext
protected Object getActionCacheKey(String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
AbstractActionResolver の記述:
AbstractActionResolver 内の getActionCacheKeybeanName - String Bean名mapping - ActionMappingservlet - ActionServletwac - WebApplicationContext
protected org.apache.struts.action.Action getActionCache(Object cacheKey)
AbstractActionResolver の記述:
AbstractActionResolver 内の getActionCachecacheKey - アクションキャッシュキー
Action キャッシュされたアクション
protected void putActionCache(Object cacheKey,
org.apache.struts.action.Action action)
AbstractActionResolver の記述:
AbstractActionResolver 内の putActionCachecacheKey - Object アクションキャッシュキーaction - Action キャッシュするアクション
protected org.apache.struts.action.Action extensionProcess(Object key,
org.apache.struts.action.Action action,
String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
AbstractActionResolver の記述:
AbstractActionResolver 内の extensionProcesskey - Object アクションキャッシュキーaction - Action 処理対象アクションbeanName - String Bean名mapping - ActionMappingservlet - ActionServletwac - WebApplicationContext
Action 処理済アクション
protected boolean isCacheEnabled(Object key,
org.apache.struts.action.Action resultAction,
String beanName,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
AbstractActionResolver の記述:
AbstractActionResolver 内の isCacheEnabledkey - Object アクションキャッシュキーresultAction - Action 処理対象アクションbeanName - String Bean名mapping - ActionMappingservlet - ActionServletwac - WebApplicationContext
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||