User: jwalters Date: 02/04/08 21:06:38 Modified: src/resources/org/jboss/verifier DefaultMessages.properties Log: Updated verifier to do simple entity bean verification for EJB 2.0. Updated some of the tests so the beans are in compliance with EJB 2.0. Revision Changes Path 1.12 +63 -4 jboss/src/resources/org/jboss/verifier/DefaultMessages.properties Index: DefaultMessages.properties =================================================================== RCS file: /cvsroot/jboss/jboss/src/resources/org/jboss/verifier/DefaultMessages.properties,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- DefaultMessages.properties 8 Apr 2002 02:35:02 -0000 1.11 +++ DefaultMessages.properties 9 Apr 2002 04:06:38 -0000 1.12 @@ -110,23 +110,82 @@ 16.5.a = An entity bean requires a primary key class (prim-key-class tag). -7.10.1 = The session bean must implement either a remote home and remote, or a local home and a local interface. - -7.10.2.a = A session bean must implement, directly or indirectly, the SessionBean interface. 7.5.3.a = A stateless Session bean must not implement the SessionSynchronization interface. 7.5.3.b = A session bean using bean-managed transaction demarcation may not implement the SessionSynchronization interface. -7.10.3 = A session bean must implement at least one ejbCreate method. 7.6.1 = A bean with bean-managed transaction demarcation cannot implement the SessionSynchronization interface. +7.8.a = The home interface of a stateless session bean must have one create method that takes no arguments. +7.8.b = The create method of a stateless session bean home interface must return the session bean's remote interface. +7.8.c = There can be only one create method in the home interface of a stateless session bean. + +7.10.1 = The session bean must implement either a remote home and remote, or a local home and a local interface. + +7.10.2.a = A session bean must implement, directly or indirectly, the SessionBean interface. 7.10.2.b1 = The session bean class must be defined as public. 7.10.2.b2 = The session bean class must not be final. 7.10.2.b3 = The session bean class must not be abstract. 7.10.2.c = The session bean class must have a public constructor that takes no parameters. 7.10.2.d = The class must not define the finalize() method. +7.10.3 = A session bean must implement at least one ejbCreate method. 7.10.3.b = The ejbCreate(...) method of a session bean class must be declared as public. 7.10.3.c = The ejbCreate(...) method of a session bean class must not be declared as final or static. 7.10.3.d = The return type of an ejbCreate(...) method must be void. 7.10.3.e = The method arguments of an ejbCreate(...) method must be legal types for RMI/IIOP. + +7.10.6.a = A session bean's home interface must extend the javax.ejb.EJBHome interface. +7.10.6.b1 = The method arguments in the home interface must be of valid types for RMI/IIOP. +7.10.6.b2 = The method return values in the home interface must be of valid types for RMI/IIOP. +7.10.6.b3 = The methods in the home interface must include java.rmi.RemoteException in their throws clause. +7.10.6.d1 = A session bean's home interface must define one or more create(...) methods. +7.10.6.d2 = The home interface of a stateless session bean must have one create method that takes no arguments. +7.10.6.e = Each create(...) method in the session bean's home interface must have a matching ejbCreate(...) method in the session bean's class. +7.10.6.f = The return type for a create(...) method must be the session bean's remote interface type. +7.10.6.g = All the exceptions defined in the throws clause of the matching ejbCreate(...) method of the enterprise bean class must be included in the throws clause of a matching create(...) method. +7.10.6.h = The throws clause of a create(...) method must include the javax.ejb.CreateException. + +7.10.8.a = A session bean's local home interface must extend the javax.ejb.EJBLocalHome interface. +7.10.8.b = The methods in the local home interface must not include java.rmi.RemoteException in their throws clause. +7.10.8.d1 = A session bean's local home interface must define one or more create(...) methods. +7.10.8.d2 = The local home interface of a stateless session bean must have one create method that takes no arguments. +7.10.8.e = Each create(...) method in the session bean's local home interface must have a matching ejbCreate(...) method in the session bean's class. +7.10.8.f = The return type for a create(...) method must be the session bean's local interface type. +7.10.8.g = All the exceptions defined in the throws clause of the matching ejbCreate(...) method of the enterprise bean class must be included in the throws clause of a matching create(...) method. +7.10.8.h = The throws clause of a create(...) method must include the javax.ejb.CreateException. + +10.6.2.a = The entity bean's class must implement, directly or indirectly, the javax.ejb.EntityBean interface. +10.6.2.b = The entity bean class must be defined as public and abstract. +10.6.2.c = The entity bean class must define a public constructor that takes no arguments. +10.6.2.d = The entity bean class must not define the finalize() method. +10.6.2.i = The entity bean class must not defined ejbFind methods. +10.6.2.g = The entity bean class must define a get accessor for each CMP field. +10.6.2.h = The entity bean class must define a set accessor for each CMP field. +10.6.2.j = The entity bean class must define a get and set accessor for each CMP field. + +10.6.4.b = The ejbCreate(...) method of an entity bean class must be declared as public. +10.6.4.c = The ejbcreate(...) method of an entity bean class must not be declared as final or static. +10.6.4.d = The return type of an ejbCreate(...) method must be the entity bean's primary key type. +10.6.4.ze = The method arguments of an ejbCreate(...) method must be legal types for RMI/IIOP. +10.6.4.zf = The return value type of an ejbCreate(...) method must be legal type for RMI/IIOP. +10.6.4.f = The throws clause must define the javax.ejb.CreateException. + +10.6.5.a = For each ejbCreate(...) method, the entity bean class must define a matching ejbPostCreate(...) method. +10.6.5.b = The ejbPostCreate(...) method must be declared as public. +10.6.5.c = The ejbPostCreate(...) method must not be declared as static. +10.6.5.d = The ejbPostCreate(...) method must not be declared as final. +10.6.5.e = The ejbPostCreate(...) method must return void. + +10.6.6.a = Home methods of an entity bean class must be declared as public. +10.6.6.b = Home methods of an entity bean class must not be declared static. +10.6.6.c = Home methods of an entity bean class must not define java.rmi.RemoteException. + +10.6.7.a = Select methods of an entity bean class must be declared as public. +10.6.7.b = Select methods of an entity bean class must not be declared abstract. +10.6.7.c = Select methods of an entity bean class must not define java.rmi.RemoteException. + +10.8.1.a = The type of the primkey-field must match the primary key class. +10.8.1.b = The primkey-field must be one of the CMP fields of the entity bean. + +12.2.1.a = The bean provider must specify the fully-qualified name of the primary key class for the entity bean. 22.2 = The bean provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods.
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development