org.seasar.framework.container.factory
クラス ConstantAnnotationHandler

java.lang.Object
  拡張org.seasar.framework.container.factory.AbstractAnnotationHandler
      拡張org.seasar.framework.container.factory.ConstantAnnotationHandler
すべての実装インタフェース:
AnnotationHandler

public class ConstantAnnotationHandler
extends AbstractAnnotationHandler


フィールドの概要
 
クラス org.seasar.framework.container.factory.AbstractAnnotationHandler から継承したフィールド
ASPECT, AUTO_BINDING, BINDING_SUFFIX, BINDING_TYPE, COMPONENT, DESTROY_METHOD, EXTERNAL_BINDING, INIT_METHOD, INSTANCE, INTER_TYPE, INTERCEPTOR, NAME, POINTCUT, VALUE
 
コンストラクタの概要
ConstantAnnotationHandler()
           
 
メソッドの概要
 void appendAspect(ComponentDef componentDef)
          コンポーネント定義にアスペクト定義を追加します。
protected  void appendAspect(ComponentDef componentDef, String interceptor, Method pointcut)
           
protected  void appendAspect(ComponentDef componentDef, String interceptor, String pointcut)
           
 void appendDestroyMethod(ComponentDef componentDef)
          コンポーネント定義にdestroyMethodを追加します。
protected  void appendDestroyMethod(ComponentDef componentDef, Method method)
           
protected  void appendDestroyMethod(ComponentDef componentDef, String methodName)
           
 void appendInitMethod(ComponentDef componentDef)
          コンポーネント定義に初期化メソッドを追加します。
protected  void appendInitMethod(ComponentDef componentDef, Method method)
           
protected  void appendInitMethod(ComponentDef componentDef, String methodName)
           
 void appendInterType(ComponentDef componentDef)
          コンポーネント定義にインタータイプ定義を追加します。
protected  void appendInterType(ComponentDef componentDef, String interTypeName)
           
 ComponentDef createComponentDef(Class componentClass, InstanceDef defaultInstanceDef, AutoBindingDef defaultAutoBindingDef, boolean defaultExternalBinding)
          コンポーネントクラス、インスタンス定義、自動バインディング定義、外部バインディングを指定してコンポーネント定義を作成します。
 PropertyDef createPropertyDef(BeanDesc beanDesc, Field field)
          フィールドを指定してコンポーネント定義に追加するプロパティ定義を作成します。
 PropertyDef createPropertyDef(BeanDesc beanDesc, PropertyDesc propertyDesc)
          プロパティ名を指定してコンポーネント定義に追加するプロパティ定義を作成します。
protected  boolean isConstantAnnotationField(Field field)
           
 
クラス org.seasar.framework.container.factory.AbstractAnnotationHandler から継承したメソッド
appendDI, createComponentDef, createComponentDef, createComponentDef, createComponentDef, createComponentDef, createComponentDef, createPropertyDef, getAutoBindingDef, getInstanceDef, getInstanceDef, isDestroyMethodRegisterable, isFieldInjectionTarget, isInitMethodRegisterable
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ConstantAnnotationHandler

public ConstantAnnotationHandler()
メソッドの詳細

createComponentDef

public ComponentDef createComponentDef(Class componentClass,
                                       InstanceDef defaultInstanceDef,
                                       AutoBindingDef defaultAutoBindingDef,
                                       boolean defaultExternalBinding)
インタフェース AnnotationHandler の記述:
コンポーネントクラス、インスタンス定義、自動バインディング定義、外部バインディングを指定してコンポーネント定義を作成します。

パラメータ:
componentClass - コンポーネントクラス
defaultInstanceDef - インスタンス定義
defaultAutoBindingDef - 自動バインディング定義
defaultExternalBinding - 外部バインディング
戻り値:
コンポーネント定義

isConstantAnnotationField

protected boolean isConstantAnnotationField(Field field)

createPropertyDef

public PropertyDef createPropertyDef(BeanDesc beanDesc,
                                     PropertyDesc propertyDesc)
インタフェース AnnotationHandler の記述:
プロパティ名を指定してコンポーネント定義に追加するプロパティ定義を作成します。

パラメータ:
beanDesc - プロパティに追加するBean名。
propertyDesc - プロパティ名
戻り値:
プロパティ定義

createPropertyDef

public PropertyDef createPropertyDef(BeanDesc beanDesc,
                                     Field field)
インタフェース AnnotationHandler の記述:
フィールドを指定してコンポーネント定義に追加するプロパティ定義を作成します。

パラメータ:
beanDesc - プロパティに追加するBean名。
field - フィールド名
戻り値:
プロパティ定義

appendAspect

public void appendAspect(ComponentDef componentDef)
インタフェース AnnotationHandler の記述:
コンポーネント定義にアスペクト定義を追加します。

パラメータ:
componentDef - コンポーネント定義

appendAspect

protected void appendAspect(ComponentDef componentDef,
                            String interceptor,
                            String pointcut)

appendAspect

protected void appendAspect(ComponentDef componentDef,
                            String interceptor,
                            Method pointcut)

appendInterType

public void appendInterType(ComponentDef componentDef)
インタフェース AnnotationHandler の記述:
コンポーネント定義にインタータイプ定義を追加します。

パラメータ:
componentDef - コンポーネント定義

appendInterType

protected void appendInterType(ComponentDef componentDef,
                               String interTypeName)

appendInitMethod

public void appendInitMethod(ComponentDef componentDef)
インタフェース AnnotationHandler の記述:
コンポーネント定義に初期化メソッドを追加します。

パラメータ:
componentDef - コンポーネント定義

appendInitMethod

protected void appendInitMethod(ComponentDef componentDef,
                                Method method)

appendInitMethod

protected void appendInitMethod(ComponentDef componentDef,
                                String methodName)

appendDestroyMethod

public void appendDestroyMethod(ComponentDef componentDef)
インタフェース AnnotationHandler の記述:
コンポーネント定義にdestroyMethodを追加します。

パラメータ:
componentDef - コンポーネント定義

appendDestroyMethod

protected void appendDestroyMethod(ComponentDef componentDef,
                                   Method method)

appendDestroyMethod

protected void appendDestroyMethod(ComponentDef componentDef,
                                   String methodName)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.