User: jwalters Date: 02/04/11 20:38:34 Modified: src/resources/org/jboss/verifier DefaultMessages.properties Log: Entity home and local home interface are now working, rest of entity verification is still commented out pending some test. Revision Changes Path 1.13 +29 -0 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.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- DefaultMessages.properties 9 Apr 2002 04:06:38 -0000 1.12 +++ DefaultMessages.properties 12 Apr 2002 03:38:34 -0000 1.13 @@ -188,4 +188,33 @@ 12.2.1.a = The bean provider must specify the fully-qualified name of the primary key class for the entity bean. + +12.2.9.a = Entity bean's home interface must extend the javax.ejb.EJBHome interface. +12.2.9.b = The methods in the home interface must not include java.rmi.RemoteException in their throws clause. +12.2.9.e = Each create(...) method in the entity bean's home interface must have a matching ejbCreate(...) method in the entity bean's class. +12.2.9.f = The return type for a create(...) method must be the entity bean's local interface type. +12.2.9.g = All the exceptions defined in the throws clause of the matching ejbCreate(...) and ejbPostCreate(...) methods of the enterprise bean class must be included in the throws clause of a matching create(...) method. +12.2.9.h = The throws clause of a create(...) method must include the javax.ejb.CreateException. +12.2.9.j = The return type for a find<METHOD> method must be the entity bean's local interface type (single-object finder) or a collection thereof (for a multi-object finder). +12.2.9.m = The throws clause of a finder method must include the javax.ejb.FinderException. +10.6.2.h = CMP entity beans may not define the implementation of a finder. +12.2.9.i = Each finder method must match one of the ejbFind<METHOD> methods defined in the entity bean class. +12.2.9.l = All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. +12.2.9.m = Each home method must match a method defined in the entity bean class. +12.2.9.n = A home method declared in the home interface must not return the entity beans remote interface. + +12.2.11.a = The Entity bean's local home interface must extend the javax.ejb.EJBLocalHome interface. +12.2.11.b = The methods in the local home interface must not include java.rmi.RemoteException in their throws clause. +12.2.11.e = Each create(...) method in the entity bean's local home interface must have a matching ejbCreate(...) method in the entity bean's class. +12.2.11.f = The return type for a create(...) method must be the entity bean's local interface type. +12.2.11.g = All the exceptions defined in the throws clause of the matching ejbCreate(...) and ejbPostCreate(...) methods of the enterprise bean class must be included in the throws clause of a matching create(...) method. +12.2.11.h = The throws clause of a create(...) method must include the javax.ejb.CreateException. +12.2.11.j = The return type for a find<METHOD> method must be the entity bean's local interface type (single-object finder) or a collection thereof (for a multi-object finder). +12.2.11.m = The throws clause of a finder method must include the javax.ejb.FinderException. +10.6.2.h = CMP entity beans may not define the implementation of a finder. +12.2.11.i = Each finder method must match one of the ejbFind<METHOD> methods defined in the entity bean class. +12.2.11.l = All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included in the throws clause of the matching find method of the home interface. +12.2.11.m = Each local home method must match a method defined in the entity bean class. +12.2.11.n = A home method declared in the local home interface must not return the entity beans remote interface. + 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