User: mulder
Date: 00/09/11 18:51:49
Modified: src/resources/org/jboss/verifier DefaultMessages.properties
Log:
Fix a bug where entity create and postCreate methods were never verified
(since ejbCreate does not return null for an entity).
Add verification of entity Primary Keys.
Note that test beans do not all verify. We should fix that.
Revision Changes Path
1.5 +17 -2
jboss/src/resources/org/jboss/verifier/DefaultMessages.properties
Index: DefaultMessages.properties
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/resources/org/jboss/verifier/DefaultMessages.properties,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DefaultMessages.properties 2000/08/20 20:29:17 1.4
+++ DefaultMessages.properties 2000/09/12 01:51:49 1.5
@@ -1,5 +1,5 @@
-6.5.1 = Session bean does not implement the required SessionBean interface.
+6.5.1 = Session bean does not implement the required SessionBean interface.
6.5.3.a = A stateless Session bean must not implement the SessionSynchronization
interface.
6.5.3.b = Only a stateful Session bean with container-managed transaction
demarcation may implement the SessionSynchronization interface.
6.5.5 = Session bean does not define the required ejbCreate method.
@@ -52,6 +52,7 @@
9.2.4.b = The ejbPostCreate(...) method must be declared as public.
9.2.4.c = The ejbPostCreate(...) method must not be declared as static.
9.2.4.d = The ejbPostCreate(...) method must not be declared as final.
+9.2.4.e = The ejbPostCreate(...) method must return void.
9.2.5.a = Every entity bean must define the ejbFindByPrimaryKey method.
9.2.5.b = The return type of the ejbFindByPrimaryKey method must be the primary
key type.
@@ -62,9 +63,23 @@
9.2.5.g = The method argument types of a finder method must be legal types for
RMI/IIOP.
9.2.5.h = The finder method return type must be either the entity bean's primary
key type or an instance of the Enumeration or the Collection interface.
+9.2.9.a = The primary key class must be a legal Value Type in RMI-IIOP.
+9.2.9.b = The primary key class must override equals().
+9.2.9.c = The primary key class must override hashCode().
+
+9.4.7.1.a = Only CMP entity beans may use the primkey-field element.
+9.4.7.1.b = The primkey-field element must name a public field in the bean
implementation class.
+9.4.7.1.c = The type of the field named in the primkey-field element must match
the class in the prim-key-class element.
+9.4.7.1.d = The field named in the primkey-field element must also be a
container-managed field.
+
+9.4.7.2.a = The primary key class must be public.
+9.4.7.2.b = All fields in the primary key class must be public.
+9.4.7.2.c = At least one field in the primary key class must be non-static.
+
16.2.b = The Bean Provider must specify the fully-qualified name of the Java
class that implements the enterprise bean's business methods.
16.2.c = The Bean Provider must specify the fully-qualified name of the
enterprise bean's home interface in the home element.
16.2.d = The Bean Provider must specify the fully-qualified name of the
enterprise bean's remote interface in the remote element.
-
+16.2.e = The Bean Provider must specify the fully-qualified name of the
enterprise bean's primary key class in the prim-key-class element.
+16.5.a = An entity bean requires a primary key class (prim-key-class tag).