|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.terasoluna.fw.web.struts.action.handler.DefaultDelegateActionHandler
public class DefaultDelegateActionHandler
DefaultDelegateActionHandler
getDelegateAction処理を拡張する際に利用する。
DelegatingRequestProcessorEx| フィールドの概要 | |
|---|---|
protected List<ActionResolver> |
actionResolverList
ActionResolverリスト |
protected ReentrantReadWriteLock |
arLock
ロックオブジェクト(ActionResolverリスト) |
protected Map<?,?> |
configReflectorMap
ConfigurationReflectorマップ |
protected ReentrantReadWriteLock |
crLock
ロックオブジェクト(ConfigurationReflectorマップ) |
protected ConcurrentHashMap<String,ActionResolver> |
pathResolverMap
アクションパスに対応するActionResolverをキャッシュ |
| コンストラクタの概要 | |
|---|---|
DefaultDelegateActionHandler()
|
|
| メソッドの概要 | |
|---|---|
protected Class<? extends Object> |
getTargetClass(Object targetObject)
オブジェクトのクラス型を取得する |
protected boolean |
isSupportsClass(Class<? extends Object> targetClass)
処理対象のクラスかどうか判定する。 |
org.apache.struts.action.Action |
resolveAction(String beanName,
org.apache.struts.action.Action action,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.config.ModuleConfig moduleConfig,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
対応するアクションを取得する |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected List<ActionResolver> actionResolverList
protected ConcurrentHashMap<String,ActionResolver> pathResolverMap
protected Map<?,?> configReflectorMap
protected ReentrantReadWriteLock arLock
protected ReentrantReadWriteLock crLock
| コンストラクタの詳細 |
|---|
public DefaultDelegateActionHandler()
| メソッドの詳細 |
|---|
public org.apache.struts.action.Action resolveAction(String beanName,
org.apache.struts.action.Action action,
org.apache.struts.action.ActionMapping mapping,
org.apache.struts.config.ModuleConfig moduleConfig,
org.apache.struts.action.ActionServlet servlet,
org.springframework.web.context.WebApplicationContext wac)
DelegateActionHandler の記述:
DelegateActionHandler 内の resolveActionbeanName - Bean名action - Actionmapping - ActionMappingmoduleConfig - ModuleConfigservlet - ActionServletwac - WebApplicationContext
protected boolean isSupportsClass(Class<? extends Object> targetClass)
targetClass - 処理対象クラス
protected Class<? extends Object> getTargetClass(Object targetObject)
targetObject - 対象のオブジェクト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||