|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.seasar.framework.aop.intertype.AbstractInterType org.seasar.framework.ejb.impl.EJB3InterceptorSupportInterType
public class EJB3InterceptorSupportInterType
EJB3インターセプタをサポートするためのインタータイプです。
EJB3のインターセプタとAOP Allianceに準拠したSeasar2のインターセプタは互換性がないため、 EJB3のインターセプタはAOP
Alliance準拠のEJB3InterceptorSupportInterceptor
を介して呼び出されます。
そのために必要な情報を保持するために、 セッションビーンをエンハンスします。
フィールドの概要 | |
---|---|
protected java.util.List<java.lang.Class<?>> |
interceptorClasses
セッションビーンに適用するEJB3インターセプタの List |
クラス org.seasar.framework.aop.intertype.AbstractInterType から継承されたフィールド |
---|
classPool, COMPONENT, enhancedClass, targetClass |
コンストラクタの概要 | |
---|---|
EJB3InterceptorSupportInterType()
インスタンスを構築します。 |
メソッドの概要 | |
---|---|
void |
addInterceptor(java.lang.Class<?> interceptorClass)
EJB3インターセプタを追加します。 |
static java.lang.String |
getFieldName(java.lang.Class<?> clazz)
EJB3インターセプタクラスのインスタンスを保持するセッションビーンのフィールド名を返します。 |
boolean |
hasInterceptor()
EJB3インターセプタを一つ以上持っている場合は true を返します。 |
protected void |
introduce()
|
クラス org.seasar.framework.aop.intertype.AbstractInterType から継承されたメソッド |
---|
addConstant, addField, addField, addField, addField, addField, addField, addInterface, addMethod, addMethod, addMethod, addMethod, addMethod, addMethod, addMethod, addMethod, addStaticField, addStaticField, addStaticField, addStaticField, addStaticField, addStaticMethod, addStaticMethod, addStaticMethod, addStaticMethod, addStaticMethod, addStaticMethod, getClassPool, getEnhancedClass, getTargetClass, introduce, toCtClass, toCtClassArray |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.util.List<java.lang.Class<?>> interceptorClasses
List
コンストラクタの詳細 |
---|
public EJB3InterceptorSupportInterType()
メソッドの詳細 |
---|
public void addInterceptor(java.lang.Class<?> interceptorClass)
interceptorClass
- EJB3インターセプタpublic boolean hasInterceptor()
true
を返します。
true
protected void introduce() throws CannotCompileException, NotFoundException
AbstractInterType
内の introduce
CannotCompileException
NotFoundException
public static java.lang.String getFieldName(java.lang.Class<?> clazz)
clazz
- EJB3インターセプタのクラス
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |