User: juha
Date: 00/07/22 14:23:43
Modified: src/resources/org/jboss/verifier DefaultMessages.properties
Log:
Implemented a couple of NYI's in abstract verifier.
Added checks for session remote interface (6.10.5)
Added checks for sesion ejbCreate methods (6.10.3)
Revision Changes Path
1.2 +17 -0
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.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DefaultMessages.properties 2000/07/18 20:02:48 1.1
+++ DefaultMessages.properties 2000/07/22 21:23:43 1.2
@@ -3,15 +3,32 @@
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.
+
6.6.1 = A bean with bean-managed transaction demarcation cannot implement the
SessionSynchronization interface.
+
+6.8.a = The home interface of a stateless session bean must have one create
method that takes no arguments.
+6.8.b = The create method of a stateless session bean home interface must
return the session bean's remote interface.
+6.8.c = There can be only one create method in the home interface of a
stateless session bean.
+
6.10.2.a = Session bean class must be defined as public.
6.10.2.b = Session bean class must not be final.
6.10.2.c = Session bean class must not be abstract.
6.10.2.d = Session bean class must have a public constructor that takes no
parameters.
6.10.2.e = The class must not define the finalize() method.
+6.10.3.a = The ejbCreate(...) method of a session bean class must be declared as
public.
+6.10.3.b = The ejbCreate(...) method of a session bean class must not be declared
as final or static.
+6.10.3.c = The return type of an ejbCreate(...) method must be void.
+6.10.3.d = The method arguments of an ejbCreate(...) method must be legal types
for RMI/IIOP.
+
+6.10.5.a = The remote interface must extend the javax.ejb.EJBObject interface.
+6.10.5.b = The method arguments in the remote interface must be of valid types for
RMI/IIOP.
+6.10.5.c = The method return values in the remote interface must be of valid types
for RMI/IIOP.
+6.10.5.d = The methods in the remote interface must include
java.rmi.RemoteException in their throws clause.
+
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.