S80001
If the bean implements the TimedObject interface, the Timeout annotation or timeout-method deployment descriptor element can only be used to specify the ejbTimeout method. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- If the Bean implements the TimedObject interface, the Timeout annotation or the timeout-method deployment descriptor element can only be used to specify the ejbTimeout method.
- Action
- Modify the application according to the specifications.
- Specification information
- EJB 3.0 Core Contracts and Requirements #18.2.2
S80002
Any method annotated as a Timeout method (or designated in the deployment descriptor as such) must have the signature below: void <METHOD>(Timer timer) (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- A method added in a Timeout annotation or specified in the deployment descriptor must have the following signature:
- void <METHOD>(Timer timer)
- Action
- Modify the application according to the specifications.
- Specification information
- EJB 3.0 Core Contracts and Requirements #18.2.2
S80003
Timeout callback methods must not throw application exceptions. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- The Timeout callback methods must not throw application exceptions.
- Action
- Modify the application according to the specifications.
- Specification information
- EJB 3.0 Core Contracts and Requirements #18.2.2
S80004
A Timeout method 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: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- A Timeout method must not be declared as final or static.
- Action
- Modify the application according to the specifications.
- Specification information
- EJB 3.0 Core Contracts and Requirements #18.2.2
S80005
Automatic timer related @Schedule attributes must not be incorrect. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd, cause = ee....ee)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
ee....ee: Cause
- Description
- The attributes of the @Schedule annotation that auto-generates the EJB timer, are invalid.
- Action
- Modify the application as per the specifications.
- Specification information
- EJB 3.1 Core Contracts and Requirements #18.2.1
S80006
Automatic timeout methods must have either of the following two signatures below: void <METHOD>() OR void <METHOD>(Timer timer) (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- Specify one of the following signatures for the timeout methods of the EJB timer auto-generated by the @Schedule annotation:
- void <METHOD>()
- void <METHOD>(Timer timer)
- Action
- Modify the application as per the specifications.
- Specification information
- EJB 3.1 Core Contracts and Requirements #18.2.5.3
S80007
Automatic timeout methods must not throw application exceptions. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- The timeout methods of the EJB timer auto-generated by the @Schedule annotation must not throw application exceptions.
- Action
- Modify the application as per the specifications.
- Specification information
- EJB 3.1 Core Contracts and Requirements #18.2.5.3
S80008
Automatic timeout methods 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: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- The timeout methods of the EJB timer auto-generated by the @Schedule annotation must not be declared as final or static.
- Action
- Modify the application as per the specifications.
- Specification information
- EJB 3.1 Core Contracts and Requirements #18.2.5.3
S80009
A stateful session bean cannot define automatic timeout methods. (test name = aa....aa, ejb-name = bb....bb, ejb-class = cc....cc, method = dd....dd)
- aa....aa: Test name
bb....bb: EJB name
cc....cc: EJB class
dd....dd: Method
- Description
- Do not define the timeout methods of the EJB timer auto-generated by the @Schedule annotation in a Stateful Session Bean.
- Action
- Modify the application as per the specifications.
- Specification information
- EJB 3.1 Core Contracts and Requirements #18.2
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.