public class DelegateInterceptor extends AbstractInterceptor
MethodInterceptorです。| コンストラクタと説明 |
|---|
DelegateInterceptor()
DelegateInterceptorを作成します。 |
DelegateInterceptor(Object target)
DelegateInterceptorを作成します。 |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addMethodNameMap(String methodName,
String targetMethodName)
転送するメソッドの組を追加します。
|
Object |
getTarget()
ターゲットのオブジェクトを返します。
|
Object |
invoke(MethodInvocation invocation) |
void |
setTarget(Object target)
ターゲットのオブジェクトを設定します。
|
createProxy, getComponentDef, getTargetClasspublic DelegateInterceptor()
DelegateInterceptorを作成します。public DelegateInterceptor(Object target)
DelegateInterceptorを作成します。target - public Object getTarget()
public void setTarget(Object target)
target - public void addMethodNameMap(String methodName, String targetMethodName)
methodName - targetMethodName - public Object invoke(MethodInvocation invocation) throws Throwable
Throwableorg.aopalliance.intercept.MethodInterceptor#invoke(org.aopalliance.intercept.MethodInvocation)Copyright © 2015 The DBFlute Project. All rights reserved.