7.9.1 Details from M00001 to M09999
-
M00001
The message-driven bean provider is responsible for providing the message-driven bean class. (ejb-name=aa....aa)
aa....aa: EJB name
- Description
-
The EJB class is an interface.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.1
EJB 2.1 #15.7.1
-
M00002
The message-driven bean class must implement, directly or indirectly, the javax.ejb.MessageDrivenBean interface. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The EJB class does not inherit javax.ejb.MessageDrivenBean.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.2
EJB 2.1 #15.7.2
-
M00003
The message-driven bean class must implement, directly or indirectly, the message listener interface required by the messaging type that it supports. In the case of JMS, this is the javax.jms.MessageListener interface. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The EJB class does not inherit a message listener whose message type is supported (javax.jms.MessageListener in the case of JMS).
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.2
EJB 2.1 #15.7.2
-
M00004
The message-driven bean class must be defined as public, must not be final, and must not be abstract. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The EJB class is not public.
The EJB class is final.
The EJB class is abstract.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.2
-
M00005
The message-driven bean class must be defined as public, must not be final, and must not be abstract. The class must be a top level class. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The EJB class is not public.
The EJB class is final.
The EJB class is abstract.
The EJB class is not a top-level class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #15.7.2
-
M00006
The message-driven bean class must have a public constructor that takes no arguments. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The EJB class does not have a public constructor without any arguments.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.2
EJB 2.1 #15.7.2
-
M00007
The message-driven bean class must not define the finalize method. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The finalize method is defined in the EJB class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.2
EJB 2.1 #15.7.2
-
M00008
The message-driven bean class must define one ejbCreate method which has no arguments. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
An ejbCreate method without any arguments is not defined in the EJB class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.3
EJB 2.1 #15.7.3
-
M00009
The ejbCreate method of the message-driven bean class must be declared as public. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The ejbCreate method is not public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.3
EJB 2.1 #15.7.3
-
M00010
The ejbCreate method of the message-driven bean class must not be declared as final or static. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The ejbCreate method is final.
The ejbCreate method is static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.3
EJB 2.1 #15.7.3
-
M00011
The return type of the ejbCreate method of the message-driven bean class must be void. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The return-value type of the ejbCreate method is not void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.3
EJB 2.1 #15.7.3
-
M00012
The throws clause of the ejbCreate method of the message-driven bean class must not define any application exceptions. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
An application exception is declared in the throws clause of the ejbCreate method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.3
EJB 2.1 #15.7.3
-
M00013
The message-driven bean class must define one onMessage method which has a single argument of type javax.jms.Message. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
An onMessage method with javax.jms.Message as an argument is not defined in the EJB class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.4
-
M00014
The onMessage method of the message-driven bean class must be declared as public. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The onMessage method is not public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.4
-
M00015
The onMessage method of the message-driven bean class must not be declared as final or static. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The onMessage method is final.
The onMessage method is static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.4
-
M00016
The message-driven bean class must define the message listener methods. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
A message listener method is not defined in the EJB class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #15.7.4
-
M00017
The message listener methods of the message-driven bean class must be declared as public. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The message listener method is not public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #15.7.4
-
M00018
The message listener methods of the message-driven bean class must not be declared as final or static. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The message listener method is final.
The message listener method is static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.1 #15.7.4
-
M00019
The return type of the onMessage method of the message-driven bean class must be void. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The return-value type of the onMessage method is not void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.4
-
M00020
The throws clause of the onMessage method of the message-driven bean class must not define any application exceptions. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
An application exception is declared in the throws clause of the onMessage method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.4
-
M00021
The message-driven bean class must define one ejbRemove method which has no arguments. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
An ejbRemove method without any arguments is not defined in the EJB class.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.5
EJB 2.1 #15.7.5
-
M00022
The ejbRemove method of the message-driven bean class must be declared as public. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The ejbRemove method is not public.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.5
EJB 2.1 #15.7.5
-
M00023
The ejbRemove method of the message-driven bean class must not be declared as final or static. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The ejbRemove method is final.
The ejbRemove method is static.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.5
EJB 2.1 #15.7.5
-
M00024
The return type of the ejbRemove method of the message-driven bean class must be void. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
The return-value type of the ejbRemove method is not void.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.5
EJB 2.1 #15.7.5
-
M00025
The throws clause of the ejbRemove method of the message-driven bean class must not define any application exceptions. (ejb-name=aa....aa, ejb-class=bb....bb)
aa....aa: EJB name
bb....bb: EJB class
- Description
-
An application exception is declared in the throws clause of the ejbRemove method.
- Action
-
Modify the application according to the specifications.
- Specification information
-
EJB 2.0 #15.7.5
EJB 2.1 #15.7.5