S00001
The session Bean Provider is responsible for providing the session bean class. (test name = aa....aa, ejb-name = bb....bb)
- aa....aa:テスト名
bb....bb:EJB名
- 説明
- session bean classが提供されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.1
S00002
The session Bean Provider is responsible for providing the session bean's client view interface(s). (test name = aa....aa, ejb-name = bb....bb)
- aa....aa:テスト名
bb....bb:EJB名
- 説明
- session beanのclient viewが提供されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.1
S00003
The session Bean Provider is responsible for providing the session bean's remote interface and remote home interface, if the session bean provides an EJB 2.x remote client view. (test name = aa....aa, ejb-name = bb....bb)
- aa....aa:テスト名
bb....bb:EJB名
- 説明
- EJB 2.x remote client viewが提供される場合,remote interfaceとremote home interfaceが提供されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.1
S00004
The session Bean Provider is responsible for providing the session bean's local interface and local home interface, if the session bean provides an EJB 2.x local client view. (test name = aa....aa, ejb-name = bb....bb)
- aa....aa:テスト名
bb....bb:EJB名
- 説明
- EJB 2.x local client viewが提供される場合,local interfaceとlocal home interfaceが提供されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.1
S00005
The web service client view is not supported. (test name = aa....aa, ejb-name = bb....bb)
- aa....aa:テスト名
bb....bb:EJB名
- 説明
- web service client viewは未サポートです。
- 対処
- アプリケーションサーバは本機能をサポートしていません。
S01000
The EJB 2.x session bean class must implement, directly or indirectly, the javax.ejb.SessionBean interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
- 説明
- EJB 2.x session bean classは,javax.ejb.SessionBean interfaceをインプリメントしてください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 2.1 #7.11.2
S01001
The session bean class must be defined as public, must not be final, and must not be abstract. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
- 説明
- bean classはpublicとして定義されなければなりません。finalやabstractで定義しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.2
S01002
The session bean class must be a top level class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
- 説明
- bean classはtop level classでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.2
S01003
The session bean class must have a public constructor that takes no parameters. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
- 説明
- bean classには,パラメータをとらないpublicコンストラクタがなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.2
S01004
The session bean class must not define the finalize method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
- 説明
- bean classには,finalizeメソッドを定義しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.2
S01005
The stateless session bean class must not implement the javax.ejb.SessionSynchronization interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
- 説明
- stateless session beanは,javax.ejb.SessionSynchronization interfaceをインプリメントしないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.2
S01006
The Remove annotation can only be specified on the business method of the bean class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- Removeアノテーションは,bean classのビジネスメソッドだけに指定できます。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Simplified API #5.1.9
S03000
The same business interface cannot be both a local and a remote business interface of the bean. (test name = aa....aa, ejb-name = bb....bb, interface = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:インタフェース
- 説明
- 同じbusiness interfaceを,localとremoteの両方のbusiness interfaceとして指定することはできません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.6
S03001
The session bean's business interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface. (test name = aa....aa, ejb-name = bb....bb, business-local = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local business interface
- 説明
- business interfaceは,javax.ejb.EJBObjectまたはjavax.ejb.EJBLocalObject interfaceを継承しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.6
S03101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッド名は「ejb」から始めないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S03102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはpublicとして宣言しなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S03103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはfinalまたはstaticとして宣言しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S03104
The enterprise bean should not throw the java.rmi.RemoteException from a business method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- java.rmi.RemoteExceptionをビジネスメソッドからスローしないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S04001
The session bean's business interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface. (test name = aa....aa, ejb-name = bb....bb, business-remote = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote business interface
- 説明
- business interfaceは,javax.ejb.EJBObjectまたはjavax.ejb.EJBLocalObject interfaceを継承しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.6
S04002
The throws clause of a method in the session bean's remote business interface that does not extend java.rmi.Remote should not include the java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, business-remote = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote business interface
dd....dd:メソッド
- 説明
- java.rmi.Remoteを継承しないremote business interfaceのメソッドのthrows節は,java.rmi.RemoteExceptionを含めません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.6
S04003
The session bean's remote business interface methods must not expose local interface types, timers or timer handles as arguments or results. (test name = aa....aa, ejb-name = bb....bb, business-remote = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote business interface
dd....dd:メソッド
- 説明
- remote business interfaceのメソッドは,引数または結果として,local interface type,タイマーまたはタイマーハンドルを公開しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.6
S04101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッド名は「ejb」から始めないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S04102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはpublicとして宣言しなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S04103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはfinalまたはstaticとして宣言しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S04104
The enterprise bean should not throw the java.rmi.RemoteException from a business method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- java.rmi.RemoteExceptionをビジネスメソッドからスローしないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S05000
All the exceptions defined in the throws clause of the matching method of the session bean class must be defined in the throws clause of the method of the remote interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, remote = dd....dd, method =ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote interface
ee....ee:メソッド
- 説明
- remote interfaceに定義されたメソッドに対応するsession bean classのメソッドのthrows節に定義された例外は,remote interfaceのメソッドのthrows節に定義されていなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.7
S05001
The session bean's remote interface must extend the javax.ejb.EJBObject interface. (test name = aa....aa, ejb-name = bb....bb, remote = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote interface
- 説明
- remote interfaceはjavax.ejb.EJBObject interfaceを継承してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.7
S05002
The throws clause of a method of the session bean's remote interface must include java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, remote = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote interface
dd....dd:メソッド
- 説明
- remote interfaceで定義されたメソッドのthrows節はjava.rmi.RemoteExceptionを含まなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.7
S05003
For each method defined in the session bean's remote interface, there must be a matching method in the session bean's class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, remote = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote interface
ee....ee:メソッド
- 説明
- remote interfaceで定義された各メソッドについてはsession bean classに対応するメソッドがなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.7
S05004
The session bean's remote interface methods must not expose local interface types, local home interface types, timers or timer handles as arguments or results. (test name = aa....aa, ejb-name = bb....bb, remote = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote interface
dd....dd:メソッド
- 説明
- remote interfaceのメソッドは,引数または結果として,local interface type,local home interface type,タイマーまたはタイマーハンドルを公開しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.7
S05101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッド名は「ejb」から始めないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S05102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはpublicとして宣言されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S05103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはfinalまたはstaticとして宣言しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S06000
Each create method must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote home interface
ee....ee:メソッド
- 説明
- session beanの各createメソッドは,session bean classで定義されるejbCreate<METHOD>メソッドのうちの一つに対応してください。対応するejbCreate<METHOD>メソッドは,同じ数と型の引数を持たなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 2.1 #7.11.6
S06001
The session bean's remote home interface must extend the javax.ejb.EJBHome interface. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote home interface
- 説明
- remote home interfaceはjavax.ejb.EJBHome interfaceを継承してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06002
The throws clause of a method of the session bean's remote home interface must include java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote home interface
dd....dd:メソッド
- 説明
- remote interfaceで定義されたメソッドのthrows節はjava.rmi.RemoteExceptionを含まなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06003
The stateless session bean's remote home interface must define exactly one create method with no arguments. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote home interface
- 説明
- stateless session beanのremote home interfaceは,引数なしで一つのcreateメソッドを定義してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06004
The stateful session bean's remote home interface must define one or more create<METHOD> methods. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote home interface
- 説明
- stateful session beanのremote home interfaceは,一つ以上のcreate<METHOD>メソッドを定義してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06005
Each create method of a stateful session bean must match one of the Init methods or ejbCreate<METHOD> methods defined in the session bean class. The matching Init method or ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote home interface
ee....ee:メソッド
- 説明
- stateful session beanの各createメソッドは,session bean classで定義されるInitメソッドまたはejbCreate<METHOD>メソッドのうちの一つに対応してください。対応するInitメソッドまたはejbCreate<METHOD>メソッドは,同じ数と型の引数を持たなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06006
The return type for a create<METHOD> method defined in the session bean's remote home interface must be the session bean's remote interface type. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote home interface
dd....dd:メソッド
- 説明
- create<METHOD>メソッドのリターンタイプは,session beanのremote interface typeでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06007
All the exceptions defined in the throws clause of an ejbCreate<METHOD> method of the session bean class must be defined in the throws clause of the matching create<METHOD> method of the remote home interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote home interface
ee....ee:メソッド
- 説明
- session bean classのejbCreate<METHOD>メソッドのthrows節に定義された例外は,remote home interfaceの対応するcreate<METHOD>メソッドのthrows節に定義されていなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06008
The throws clause of a create<METHOD> method of the session bean's remote home interface must include javax.ejb.CreateException. (test name = aa....aa, ejb-name = bb....bb, home = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:remote home interface
dd....dd:メソッド
- 説明
- remote home interfaceで定義されたメソッドのthrows節はjavax.ejb.CreateExceptionを含まなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.8
S06009
If the stateless session bean has an ejbCreate method, the PostConstruct annotation (or deployment descriptor metadata) can only be applied to the bean's ejbCreate method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote home interface
ee....ee:メソッド
- 説明
- stateless session beanにejbCreateメソッドがある場合,PostConstructアノテーションは,ejbCreateメソッドだけに設定できます。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.3.10.2
S06010
The value element of the Init annotation must be specified when the Init annotation is used in association with an adapted home interface of a stateful session bean that has more than one create<METHOD> method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:remote home interface
ee....ee:メソッド
- 説明
- Initアノテーションが複数のcreate<METHOD>メソッドを持つstateful session beanのホームインタフェースに関して使われる場合,Initアノテーションのvalue要素は指定しなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Simplified API #10.1.2.1
S06101
The ejbCreate<METHOD> method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ejbCreate<METHOD>メソッドはpublicとして宣言されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.4
S06102
The ejbCreate<METHOD> method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ejbCreate<METHOD>メソッドはfinalまたはstaticとして宣言しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.4
S06103
The return type for the ejbCreate<METHOD> method of the session bean's class must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ejbCreate<METHOD>メソッドのリターンタイプはvoidでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.4
S06201
The result type for the Init method must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- Initメソッドの結果タイプはvoidでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Simplified API #10.1.2.1
S07000
All the exceptions defined in the throws clause of the matching method of the session bean class must be defined in the throws clause of the method of the local interface.. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local interface
ee....ee:メソッド
- 説明
- local interfaceに定義されたメソッドに対応するsession bean classのメソッドのthrows節に定義された例外は,local interfaceのメソッドのthrows節に定義されていなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.9
S07001
The session bean's local interface must extend the javax.ejb.EJBLocalObject interface. (test name = aa....aa, ejb-name = bb....bb, local = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local interface
- 説明
- local interfaceはjavax.ejb.EJBLocalObject interfaceを継承してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.9
S07002
The throws clause of a method defined in the session bean's local interface must not include the java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, local = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local interface
dd....dd:メソッド
- 説明
- local interfaceで定義されたメソッドのthrows節は,java.rmi.RemoteExceptionを含めません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.9
S07003
For each method defined in the session bean's local interface, there must be a matching method in the session bean's class. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local interface
ee....ee:メソッド
- 説明
- local interfaceで定義された各メソッドについては,session bean classに対応するメソッドがなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.9
S07101
The business method names of the session bean's class can be arbitrary, but they must not start with "ejb". (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッド名は「ejb」から始めないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S07102
The business method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはpublicとして宣言されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S07103
The business method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ビジネスメソッドはfinalまたはstaticとして宣言しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.5
S08000
Each create method must match one of the ejbCreate<METHOD> methods defined in the session bean class. The matching ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local home interface
ee....ee:メソッド
- 説明
- session beanの各createメソッドは,session bean classで定義されるejbCreate<METHOD>メソッドのうちの一つに対応してください。対応するejbCreate<METHOD>メソッドは,同じ数と型の引数を持たなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 2.1 #7.11.8
S08001
The session bean's local home interface must extend the javax.ejb.EJBLocalHome interface. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local home interface
- 説明
- local home interfaceはjavax.ejb.EJBLocalHome interfaceを継承してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08002
The throws clause of a method in the session bean's local home interface must not include the java.rmi.RemoteException. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local home interface
dd....dd:メソッド
- 説明
- local home interfaceで定義されたメソッドのthrows節は,java.rmi.RemoteExceptionを含めません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08003
The stateless session bean's local home interface must define exactly one create method with no arguments. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local home interface
- 説明
- stateless session beanのlocal home interfaceは,引数なしで一つのcreateメソッドを定義してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08004
The stateful session bean's local home interface must define one or more create<METHOD> methods. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local home interface
- 説明
- stateful session beanのlocal home interfaceは,一つ以上のcreate<METHOD>メソッドを定義してください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08005
Each create method of a stateful session bean must match one of the Init methods or ejbCreate<METHOD> methods defined in the session bean class. The matching Init method or ejbCreate<METHOD> method must have the same number and types of arguments. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local home interface
ee....ee:メソッド
- 説明
- stateful session beanの各createメソッドは,session bean classで定義されるInitメソッドまたはejbCreate<METHOD>メソッドのうちの一つに対応してください。対応するInitメソッドまたはejbCreate<METHOD>メソッドは,同じ数と型の引数を持たなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08006
The return type for a create<METHOD> method defined in the session bean's local home interface must be the session bean's local interface type. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local home interface
dd....dd:メソッド
- 説明
- create<METHOD>メソッドのリターンタイプは,session beanのlocal interface typeでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08007
All the exceptions defined in the throws clause of an ejbCreate<METHOD> method of the session bean class must be defined in the throws clause of the matching create<METHOD> method of the local home interface. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local home interface
ee....ee:メソッド
- 説明
- session bean classのejbCreate<METHOD>メソッドのthrows節に定義された例外は,local home interfaceの対応するcreate<METHOD>メソッドのthrows節に定義されていなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08008
The throws clause of a create<METHOD> method of the session bean's local home interface must include javax.ejb.CreateException. (test name = aa....aa, ejb-name = bb....bb, local-home = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:local home interface
dd....dd:メソッド
- 説明
- local home interfaceで定義されたメソッドのthrows節はjavax.ejb.CreateExceptionを含まなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.10
S08009
If the stateless session bean has an ejbCreate method, the PostConstruct annotation (or deployment descriptor metadata) can only be applied to the bean's ejbCreate method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local home interface
ee....ee:メソッド
- 説明
- stateless session beanにejbCreateメソッドがある場合,PostConstructアノテーションは,ejbCreateメソッドだけに設定できます。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.3.10.2
S08010
The value element of the Init annotation must be specified when the Init annotation is used in association with an adapted home interface of a stateful session bean that has more than one create<METHOD> method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, local-home = dd....dd, method = ee....ee)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:local home interface
ee....ee:メソッド
- 説明
- Initアノテーションが複数のcreate<METHOD>メソッドを持つstateful session beanのホームインタフェースに関して使われる場合,Initアノテーションのvalue要素は指定しなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Simplified API #10.1.2.1
S08101
The ejbCreate<METHOD> method of the session bean's class must be declared as public. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ejbCreate<METHOD>メソッドはpublicとして宣言されなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.4
S08102
The ejbCreate<METHOD> method of the session bean's class must not be declared as final or static. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ejbCreate<METHOD>メソッドはfinalまたはstaticとして宣言しないでください。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.4
S08103
The return type for the ejbCreate<METHOD> method of the session bean's class must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- ejbCreate<METHOD>メソッドのリターンタイプはvoidでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Core Contracts and Requirements #4.6.4
S08201
The result type for the Init method must be void. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa:テスト名
bb....bb:EJB名
cc....cc:EJBクラス
dd....dd:メソッド
- 説明
- Initメソッドの結果タイプはvoidでなければなりません。
- 対処
- アプリケーションを仕様書に従って修正してください。
- 仕様書情報
- EJB 3.0 Simplified API #10.1.2.1
All Rights Reserved. Copyright (C) 2008, 2011, Hitachi, Ltd.