|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.framework.container.factory.aspect.AbstractAspectDefBuilder
org.seasar.framework.container.factory.aspect.MetaAnnotationAspectDefBuilder
public class MetaAnnotationAspectDefBuilder
メタアノテーションで注釈されたアノテーションを読み取りAspectDefを作成するコンポーネントの実装クラスです。
| 入れ子のクラスの概要 | |
|---|---|
class |
MetaAnnotationAspectDefBuilder.ExpressionImpl
評価されると指定されたアノテーションで指定された名前のコンポーネント (インターセプタ) をコンテナから取得して返す Expressionの実装です。 |
| フィールドの概要 | |
|---|---|
protected java.lang.String |
interceptorNamespace
インターセプタの名前空間 |
protected java.lang.String |
interceptorSuffix
インターセプタの接尾辞 |
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
metaAnnotationType
メタアノテーションの型 |
| コンストラクタの概要 | |
|---|---|
MetaAnnotationAspectDefBuilder()
インスタンスを構築します。 |
|
MetaAnnotationAspectDefBuilder(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType,
java.lang.String interceptorSuffix)
インスタンスを構築します。 |
|
MetaAnnotationAspectDefBuilder(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType,
java.lang.String interceptorNamespace,
java.lang.String interceptorSuffix)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
appendAspectDef(AnnotationHandler annotationHandler,
ComponentDef componentDef)
コンポーネントからTigerアノテーションを読み取り AspectDefを作成し、コンポーネント定義に追加します。 |
protected java.lang.String |
getInterceptorName(java.lang.annotation.Annotation annotation)
アノテーションに指定されているインターセプタのコンポーネント名を返します。 |
java.lang.String |
getInterceptorNamespace()
インターセプタの名前空間を返します。 |
java.lang.String |
getInterceptorSuffix()
インターセプタの接尾辞を返します。 |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getMetaAnnotationType()
メタアノテーションの型を返します。 |
protected java.lang.String |
getPointcut(java.lang.annotation.Annotation annotation)
アノテーションに指定されているポイントカットを返します。 |
protected void |
processClass(ComponentDef componentDef,
java.lang.Class<?> componentClass)
クラスに付けられたメタアノテーションで注釈されたアノテーションを読み取り アスペクト定義を作成してコンポーネント定義に追加します。 |
protected void |
processMethod(ComponentDef componentDef,
java.lang.Class<?> componentClass)
メソッドに付けられたメタアノテーションで注釈されたアノテーションを読み取り アスペクト定義を作成してコンポーネント定義に追加します。 |
void |
setInterceptorNamespace(java.lang.String interceptorNamespace)
インターセプタの名前空間を設定します。 |
void |
setInterceptorSuffix(java.lang.String interceptorSuffix)
インターセプタの接尾辞を設定します。 |
void |
setMetaAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
メタアノテーションの型を設定します。 |
| クラス org.seasar.framework.container.factory.aspect.AbstractAspectDefBuilder から継承されたメソッド |
|---|
appendAspect, appendAspect |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType
protected java.lang.String interceptorNamespace
protected java.lang.String interceptorSuffix
| コンストラクタの詳細 |
|---|
public MetaAnnotationAspectDefBuilder()
public MetaAnnotationAspectDefBuilder(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType,
java.lang.String interceptorSuffix)
metaAnnotationType - メタアノテーションの型interceptorSuffix - インターセプタの接尾辞
public MetaAnnotationAspectDefBuilder(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType,
java.lang.String interceptorNamespace,
java.lang.String interceptorSuffix)
metaAnnotationType - メタアノテーションの型interceptorNamespace - インターセプタの名前空間interceptorSuffix - インターセプタの接尾辞| メソッドの詳細 |
|---|
public java.lang.Class<? extends java.lang.annotation.Annotation> getMetaAnnotationType()
public void setMetaAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
metaAnnotationType - メタアノテーションの型public java.lang.String getInterceptorNamespace()
public void setInterceptorNamespace(java.lang.String interceptorNamespace)
interceptorNamespace - インターセプタの名前空間public java.lang.String getInterceptorSuffix()
public void setInterceptorSuffix(java.lang.String interceptorSuffix)
interceptorSuffix - インターセプタの接尾辞
public void appendAspectDef(AnnotationHandler annotationHandler,
ComponentDef componentDef)
AspectDefBuilder の記述: AspectDefを作成し、コンポーネント定義に追加します。
annotationHandler - このメソッドを呼び出しているアノテーションハンドラcomponentDef - コンポーネント定義
protected void processClass(ComponentDef componentDef,
java.lang.Class<?> componentClass)
アスペクト定義を作成してコンポーネント定義に追加します。
componentDef - コンポーネント定義componentClass - コンポーネントの型
protected void processMethod(ComponentDef componentDef,
java.lang.Class<?> componentClass)
アスペクト定義を作成してコンポーネント定義に追加します。
componentDef - コンポーネント定義componentClass - コンポーネントの型protected java.lang.String getPointcut(java.lang.annotation.Annotation annotation)
annotation - アノテーション
protected java.lang.String getInterceptorName(java.lang.annotation.Annotation annotation)
annotation - アノテーション
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||