org.seasar.framework.container.factory.intertype
クラス EJB3IntertypeDefBuilder

java.lang.Object
  上位を拡張 org.seasar.framework.container.factory.intertype.EJB3IntertypeDefBuilder
すべての実装されたインタフェース:
IntertypeDefBuilder

public class EJB3IntertypeDefBuilder
extends java.lang.Object
implements IntertypeDefBuilder

EJB3をサポートするインタータイプInterTypeDefを作成するコンポーネントの実装クラスです。

作成者:
koichik

コンストラクタの概要
EJB3IntertypeDefBuilder()
           
 
メソッドの概要
 void appendIntertypeDef(AnnotationHandler annotationHandler, ComponentDef componentDef)
          コンポーネントからTigerアノテーションを読み取りInterTypeDefを作成し、コンポーネント定義に追加します。
protected  ComponentDef createInterceptorComponentDef(AnnotationHandler annotationHandler, java.lang.Class<?> interceptorClass)
          Interceptorsアノテーションで指定されたインターセプタをコンポーネントとして登録する ComponentDefを作成して返します。
protected  PropertyDef createPropertyDef(AnnotationHandler annotationHandler, java.lang.Class<?> interceptorClass)
          EJB3InterceptorSupportInterTypeが追加するプロパティに、 Interceptorsアノテーションで指定されたインターセプタを設定する、 PropertyDefを作成して返します。
protected  java.util.Set<java.lang.Class<?>> getInterceptorClasses(EJB3Desc ejb3desc)
          Interceptorsアノテーションで指定されたインターセプタクラスの配列を返します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EJB3IntertypeDefBuilder

public EJB3IntertypeDefBuilder()
メソッドの詳細

appendIntertypeDef

public void appendIntertypeDef(AnnotationHandler annotationHandler,
                               ComponentDef componentDef)
インタフェース IntertypeDefBuilder の記述:
コンポーネントからTigerアノテーションを読み取りInterTypeDefを作成し、コンポーネント定義に追加します。

定義:
インタフェース IntertypeDefBuilder 内の appendIntertypeDef
パラメータ:
annotationHandler - このメソッドを呼び出しているアノテーションハンドラ
componentDef - コンポーネント定義

getInterceptorClasses

protected java.util.Set<java.lang.Class<?>> getInterceptorClasses(EJB3Desc ejb3desc)
Interceptorsアノテーションで指定されたインターセプタクラスの配列を返します。

パラメータ:
ejb3desc - EJB3Desc
戻り値:
Interceptorsアノテーションで指定されたインターセプタクラスの配列

createPropertyDef

protected PropertyDef createPropertyDef(AnnotationHandler annotationHandler,
                                        java.lang.Class<?> interceptorClass)
EJB3InterceptorSupportInterTypeが追加するプロパティに、 Interceptorsアノテーションで指定されたインターセプタを設定する、 PropertyDefを作成して返します。

パラメータ:
annotationHandler - アノテーションハンドラ
interceptorClass - Interceptorsアノテーションで指定されたインターセプタクラス
戻り値:
PropertyDef

createInterceptorComponentDef

protected ComponentDef createInterceptorComponentDef(AnnotationHandler annotationHandler,
                                                     java.lang.Class<?> interceptorClass)
Interceptorsアノテーションで指定されたインターセプタをコンポーネントとして登録する ComponentDefを作成して返します。

パラメータ:
annotationHandler - アノテーションハンドラ
interceptorClass - Interceptorsアノテーションで指定されたインターセプタクラス
戻り値:
ComponentDef


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