|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.framework.ejb.impl.EJB3DescImpl
public class EJB3DescImpl
EJB3のセッションビーンを表現するクラスです。
| フィールドの概要 | |
|---|---|
protected java.util.LinkedList<java.lang.reflect.Method> |
aroundInvokeMethods
AroundInvokeで注釈されたメソッドのList |
protected java.lang.Class<?> |
beanClass
セッションビーンのクラス |
protected java.lang.String |
beanClassName
セッションビーンのクラス名 |
protected java.util.List<java.lang.Class<?>> |
businessInterfaces
このセッションビーンが実装するビジネスインターフェースの List |
protected java.util.List<EJB3BusinessMethodDesc> |
businessMethods
このセッションビーンが持つビジネスメソッドの List |
protected boolean |
cmt
このセッションビーンがコンテナ管理トランザクションを使用する場合は true |
protected java.util.List<EJB3InterceptorDesc> |
interceptors
このセッションビーンに適用されるインターセプタ定義の List |
protected java.lang.String |
name
このセッションビーンの名前 |
protected java.util.LinkedList<java.lang.reflect.Method> |
postConstructMethods
PostConstructで注釈されたメソッドのList |
protected boolean |
stateful
このセッションビーンがステートフルなら true |
protected boolean |
stateless
このセッションビーンがステートレスなら true |
| コンストラクタの概要 | |
|---|---|
EJB3DescImpl(java.lang.Class<?> beanClass)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
detectAroundInvokeMethods()
AroundInvokeで注釈されたメソッドを検出します。 |
protected void |
detectBusinessMethods()
ビジネスメソッドを検出します。 |
protected void |
detectImplicitBusinessInterfaces()
暗黙的なビジネスインターフェースを検出します。 |
protected void |
detectInterceptors()
インターセプタを検出します。 |
protected void |
detectLocalBusinessInterfaces()
Localアノテーションで指定されたビジネスインターフェースを検出します。 |
void |
detectPostConstructMethods()
PostConstructで注釈されたメソッドを検出します。 |
protected void |
detectRemoteBusinessInterfaces()
Remoteアノテーションで指定されたビジネスインターフェースを検出します。 |
protected void |
detectTransactionManagementType()
TransactionManagementTypeを検出します。 |
java.util.List<java.lang.reflect.Method> |
getAroundInvokeMethods()
AroundInvokeで注釈されたメソッドのListを返します。 |
java.lang.Class<?> |
getBeanClass()
このセッションビーンのクラスを返します。 |
java.util.List<java.lang.Class<?>> |
getBusinessInterfaces()
このセッションビーンが実装するビジネスインターフェースの Listを返します。 |
EJB3BusinessMethodDesc |
getBusinessMethod(java.lang.reflect.Method method)
methodに対応するビジネスメソッド定義を返します。 |
java.util.List<EJB3BusinessMethodDesc> |
getBusinessMethods()
このセッションビーンの全てのビジネスメソッド定義の Listを返します。 |
java.util.List<EJB3InterceptorDesc> |
getInterceptors()
このセッションビーンに適用されるインターセプタ定義の Listを返します。 |
java.lang.String |
getName()
このセッションビーンの名前を返します。 |
java.util.List<java.lang.reflect.Method> |
getPostConstructMethods()
PostConstructで注釈されたメソッドのListを返します。 |
protected void |
introspection()
コンストラクタ引数で指定されたクラスを解析します。 |
protected boolean |
isBusinessInterface(java.lang.Class<?> type)
typeがビジネスインターフェースならtrueを返します。 |
protected boolean |
isBusinessMethod(java.lang.reflect.Method method)
methodがビジネスメソッドならtureを返します。 |
boolean |
isCMT()
このセッションビーンがコンテナ管理トランザクションを使用する場合は trueを返します。 |
boolean |
isEJB3()
コンストラクタ引数で指定されたクラスがEJB3セッションビーの場合は trueを返します。 |
boolean |
isStateful()
このセッションビーンがステートフルなら trueを返します。 |
boolean |
isStateless()
このセッションビーンがステートレスなら trueを返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected java.lang.Class<?> beanClass
protected java.lang.String beanClassName
protected boolean stateless
true
protected boolean stateful
true
protected java.lang.String name
protected java.util.List<java.lang.Class<?>> businessInterfaces
List
protected boolean cmt
true
protected java.util.List<EJB3InterceptorDesc> interceptors
List
protected java.util.List<EJB3BusinessMethodDesc> businessMethods
List
protected java.util.LinkedList<java.lang.reflect.Method> aroundInvokeMethods
AroundInvokeで注釈されたメソッドのList
protected java.util.LinkedList<java.lang.reflect.Method> postConstructMethods
PostConstructで注釈されたメソッドのList
| コンストラクタの詳細 |
|---|
public EJB3DescImpl(java.lang.Class<?> beanClass)
beanClass - セッションビーンのクラス| メソッドの詳細 |
|---|
public boolean isEJB3()
trueを返します。
truepublic boolean isStateless()
EJB3Desc の記述: trueを返します。
EJB3Desc 内の isStatelesstruepublic boolean isStateful()
EJB3Desc の記述: trueを返します。
EJB3Desc 内の isStatefultruepublic java.lang.String getName()
EJB3Desc の記述:
EJB3Desc 内の getNameStateless.name(),
Stateful.name()public java.lang.Class<?> getBeanClass()
EJB3Desc の記述:
EJB3Desc 内の getBeanClasspublic java.util.List<java.lang.Class<?>> getBusinessInterfaces()
EJB3Desc の記述: Listを返します。
EJB3Desc 内の getBusinessInterfacesListpublic boolean isCMT()
EJB3Desc の記述: trueを返します。
EJB3Desc 内の isCMTtruepublic java.util.List<EJB3InterceptorDesc> getInterceptors()
EJB3Desc の記述: Listを返します。
EJB3Desc 内の getInterceptorsListpublic EJB3BusinessMethodDesc getBusinessMethod(java.lang.reflect.Method method)
EJB3Desc の記述: methodに対応するビジネスメソッド定義を返します。
methodに対応するビジネスメソッドが存在しない場合はnullを返します。
EJB3Desc 内の getBusinessMethodmethod - このセッションビーンのメソッド
methodに対応するビジネスメソッド定義public java.util.List<EJB3BusinessMethodDesc> getBusinessMethods()
EJB3Desc の記述: Listを返します。
EJB3Desc 内の getBusinessMethodsListpublic java.util.List<java.lang.reflect.Method> getAroundInvokeMethods()
EJB3Desc の記述: AroundInvokeで注釈されたメソッドのListを返します。
このセッションビーンにAroundInvokeで注釈されたメソッドが存在しない場合は空のListを返します。
EJB3Desc 内の getAroundInvokeMethodsAroundInvokeで注釈されたメソッドのリストpublic java.util.List<java.lang.reflect.Method> getPostConstructMethods()
EJB3Desc の記述: PostConstructで注釈されたメソッドのListを返します。
このセッションビーンにPostConstructで注釈されたメソッドが存在しない場合は空のListを返します。
EJB3Desc 内の getPostConstructMethodsPostConstructで注釈されたメソッドのリストprotected void introspection()
protected void detectLocalBusinessInterfaces()
Localアノテーションで指定されたビジネスインターフェースを検出します。
protected void detectRemoteBusinessInterfaces()
Remoteアノテーションで指定されたビジネスインターフェースを検出します。
protected void detectImplicitBusinessInterfaces()
protected void detectTransactionManagementType()
TransactionManagementTypeを検出します。
protected void detectInterceptors()
protected void detectBusinessMethods()
public void detectAroundInvokeMethods()
AroundInvokeで注釈されたメソッドを検出します。
public void detectPostConstructMethods()
PostConstructで注釈されたメソッドを検出します。
protected boolean isBusinessInterface(java.lang.Class<?> type)
typeがビジネスインターフェースならtrueを返します。
type - セッションビーンが実装しているインターフェースの型
typeがビジネスインターフェースならtrueprotected boolean isBusinessMethod(java.lang.reflect.Method method)
methodがビジネスメソッドならtureを返します。
method - セッションビーンのメソッド
methodがビジネスメソッドならture
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||