public class MetaAnnotationAspectDefBuilder extends AbstractAspectDefBuilder
| 修飾子とタイプ | クラスと説明 |
|---|---|
class |
MetaAnnotationAspectDefBuilder.MetaAnnotationExpression |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected String |
interceptorNamespace
インターセプタの名前空間
|
protected String |
interceptorSuffix
インターセプタの接尾辞
|
protected Class<? extends Annotation> |
metaAnnotationType
メタアノテーションの型
|
| コンストラクタと説明 |
|---|
MetaAnnotationAspectDefBuilder()
インスタンスを構築します。
|
MetaAnnotationAspectDefBuilder(Class<? extends Annotation> metaAnnotationType,
String interceptorSuffix)
インスタンスを構築します。
|
MetaAnnotationAspectDefBuilder(Class<? extends Annotation> metaAnnotationType,
String interceptorNamespace,
String interceptorSuffix)
インスタンスを構築します。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
appendAspectDef(AnnotationHandler annotationHandler,
ComponentDef componentDef)
コンポーネントからTigerアノテーションを読み取り
AspectDefを作成し、コンポーネント定義に追加します。 |
protected String |
getInterceptorName(Annotation annotation)
アノテーションに指定されているインターセプタのコンポーネント名を返します。
|
String |
getInterceptorNamespace()
インターセプタの名前空間を返します。
|
String |
getInterceptorSuffix()
インターセプタの接尾辞を返します。
|
Class<? extends Annotation> |
getMetaAnnotationType()
メタアノテーションの型を返します。
|
protected String |
getPointcut(Annotation annotation)
アノテーションに指定されているポイントカットを返します。
|
protected void |
processClass(ComponentDef componentDef,
Class<?> componentClass)
|
protected void |
processMethod(ComponentDef componentDef,
Class<?> componentClass)
|
void |
setInterceptorNamespace(String interceptorNamespace)
インターセプタの名前空間を設定します。
|
void |
setInterceptorSuffix(String interceptorSuffix)
インターセプタの接尾辞を設定します。
|
void |
setMetaAnnotationType(Class<? extends Annotation> metaAnnotationType)
メタアノテーションの型を設定します。
|
appendAspect, appendAspectprotected Class<? extends Annotation> metaAnnotationType
protected String interceptorNamespace
protected String interceptorSuffix
public MetaAnnotationAspectDefBuilder()
public MetaAnnotationAspectDefBuilder(Class<? extends Annotation> metaAnnotationType, String interceptorSuffix)
metaAnnotationType - メタアノテーションの型interceptorSuffix - インターセプタの接尾辞public MetaAnnotationAspectDefBuilder(Class<? extends Annotation> metaAnnotationType, String interceptorNamespace, String interceptorSuffix)
metaAnnotationType - メタアノテーションの型interceptorNamespace - インターセプタの名前空間interceptorSuffix - インターセプタの接尾辞public Class<? extends Annotation> getMetaAnnotationType()
public void setMetaAnnotationType(Class<? extends Annotation> metaAnnotationType)
metaAnnotationType - メタアノテーションの型public String getInterceptorNamespace()
public void setInterceptorNamespace(String interceptorNamespace)
interceptorNamespace - インターセプタの名前空間public String getInterceptorSuffix()
public void setInterceptorSuffix(String interceptorSuffix)
interceptorSuffix - インターセプタの接尾辞public void appendAspectDef(AnnotationHandler annotationHandler, ComponentDef componentDef)
AspectDefBuilderAspectDefを作成し、コンポーネント定義に追加します。annotationHandler - このメソッドを呼び出しているアノテーションハンドラcomponentDef - コンポーネント定義protected void processClass(ComponentDef componentDef, Class<?> componentClass)
componentDef - コンポーネント定義componentClass - コンポーネントの型protected void processMethod(ComponentDef componentDef, Class<?> componentClass)
componentDef - コンポーネント定義componentClass - コンポーネントの型protected String getPointcut(Annotation annotation)
annotation - アノテーションprotected String getInterceptorName(Annotation annotation)
annotation - アノテーションCopyright © 2015 The DBFlute Project. All rights reserved.