org.seasar.framework.aop.interceptors
クラス DependencyLookupInterceptor
java.lang.Object
org.seasar.framework.aop.interceptors.AbstractInterceptor
org.seasar.framework.aop.interceptors.DependencyLookupInterceptor
- すべての実装インタフェース:
- Advice, Interceptor, MethodInterceptor, Serializable
- public class DependencyLookupInterceptor
- extends AbstractInterceptor
getterメソッドに適用されて、S2コンテナからルックアップしたコンポーネントを返すインターセプタです。
- 作成者:
- koichik
- 関連項目:
AbstractBindingTypeDef
,
直列化された形式
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyLookupInterceptor
public DependencyLookupInterceptor()
invoke
public Object invoke(MethodInvocation invocation)
throws Throwable
- 例外:
Throwable
isAutoBindable
protected boolean isAutoBindable(String propertyName,
Class propertyType,
ComponentDef cd)
- プロパティにコンポーネントを自動バインディング可能なら
true
を返します。
- パラメータ:
propertyName
- プロパティ名propertyType
- プロパティの型cd
- コンポーネント定義
- 戻り値:
- プロパティにコンポーネントを自動バインディング可能なら
true
Copyright © 2004-2009 The Seasar Foundation. All Rights Reserved.