|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.framework.aop.interceptors.AbstractInterceptor
org.seasar.framework.aop.interceptors.DelegateInterceptor
あるオブジェクトへの呼び出しを別のオブジェクトに転送するMethodInterceptor
です。
コンストラクタの概要 | |
DelegateInterceptor()
DelegateInterceptor を作成します。 |
|
DelegateInterceptor(java.lang.Object target)
DelegateInterceptor を作成します。 |
メソッドの概要 | |
void |
addMethodNameMap(java.lang.String methodName,
java.lang.String targetMethodName)
転送するメソッドの組を追加します。 |
java.lang.Object |
getTarget()
ターゲットのオブジェクトを返します。 |
java.lang.Object |
invoke(MethodInvocation invocation)
|
void |
setTarget(java.lang.Object target)
ターゲットのオブジェクトを設定します。 |
クラス org.seasar.framework.aop.interceptors.AbstractInterceptor から継承したメソッド |
createProxy, getComponentDef, getTargetClass |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public DelegateInterceptor()
DelegateInterceptor
を作成します。
public DelegateInterceptor(java.lang.Object target)
DelegateInterceptor
を作成します。
target
- メソッドの詳細 |
public java.lang.Object getTarget()
public void setTarget(java.lang.Object target)
target
- public void addMethodNameMap(java.lang.String methodName, java.lang.String targetMethodName)
methodName
- targetMethodName
- public java.lang.Object invoke(MethodInvocation invocation) throws java.lang.Throwable
java.lang.Throwable
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |