User: starksm Date: 02/02/25 12:59:58 Modified: src/main/org/jboss/test/hello/interfaces Hello.java HelloData.java HelloHome.java Log: Simplified the test code to get rid of tests that were not used and convered by other unit tests Revision Changes Path 1.3 +8 -39 jbosstest/src/main/org/jboss/test/hello/interfaces/Hello.java Index: Hello.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/hello/interfaces/Hello.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Hello.java 7 Jan 2001 23:14:40 -0000 1.2 +++ Hello.java 25 Feb 2002 20:59:58 -0000 1.3 @@ -4,60 +4,26 @@ */ package org.jboss.test.hello.interfaces; -import java.rmi.*; -import javax.ejb.*; +import java.rmi.RemoteException; +import javax.ejb.EJBObject; -/** +/** A simple hello world stateless session bean home * - * @see <related> - * @author $Author: peter $ - * @version $Revision: 1.2 $ + * @author [EMAIL PROTECTED] + * @version $Revision: 1.3 $ */ public interface Hello extends EJBObject { - // Constants ----------------------------------------------------- - - // Attributes ---------------------------------------------------- - - // Static -------------------------------------------------------- - - // Constructors -------------------------------------------------- - - // Public -------------------------------------------------------- public String hello(String name) throws RemoteException; - + public Hello helloHello(Hello object) throws RemoteException; - - public String sayHello() - throws RemoteException; - + public String howdy(HelloData name) throws RemoteException; - - public void testSpeed(String name, int iter) - throws java.rmi.RemoteException; - - public void doNastyStuff() - throws RemoteException; - + public void throwException() throws RemoteException; } - -/* - * $Id: Hello.java,v 1.2 2001/01/07 23:14:40 peter Exp $ - * Currently locked by:$Locker: $ - * Revision: - * $Log: Hello.java,v $ - * Revision 1.2 2001/01/07 23:14:40 peter - * Trying to get JAAS to work within test suite. - * - * Revision 1.1.1.1 2000/06/21 15:52:34 oberg - * Initial import of jBoss test. This module contains CTS tests, some simple examples, and small bean suites. - * - * - * - */ 1.3 +12 -31 jbosstest/src/main/org/jboss/test/hello/interfaces/HelloData.java Index: HelloData.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/hello/interfaces/HelloData.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- HelloData.java 7 Jan 2001 23:14:40 -0000 1.2 +++ HelloData.java 25 Feb 2002 20:59:58 -0000 1.3 @@ -4,43 +4,21 @@ */ package org.jboss.test.hello.interfaces; -import java.rmi.*; -import javax.ejb.*; - -/** - * - * @see <related> - * @author $Author: peter $ - * @version $Revision: 1.2 $ +/** A serializable data object for testing data passed to an EJB. + * @author [EMAIL PROTECTED] + * @version $Revision: 1.3 $ */ public class HelloData implements java.io.Serializable { - // Constants ----------------------------------------------------- - - // Attributes ---------------------------------------------------- - String name; - - // Static -------------------------------------------------------- + private String name; - // Constructors -------------------------------------------------- - - // Public -------------------------------------------------------- - public String getName() { return name; } - public void setName(String name) { this.name = name; } + public String getName() + { + return name; + } + public void setName(String name) + { + this.name = name; + } } - -/* - * $Id: HelloData.java,v 1.2 2001/01/07 23:14:40 peter Exp $ - * Currently locked by:$Locker: $ - * Revision: - * $Log: HelloData.java,v $ - * Revision 1.2 2001/01/07 23:14:40 peter - * Trying to get JAAS to work within test suite. - * - * Revision 1.1.1.1 2000/06/21 15:52:34 oberg - * Initial import of jBoss test. This module contains CTS tests, some simple examples, and small bean suites. - * - * - * - */ 1.4 +6 -30 jbosstest/src/main/org/jboss/test/hello/interfaces/HelloHome.java Index: HelloHome.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/hello/interfaces/HelloHome.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- HelloHome.java 3 Feb 2001 08:32:15 -0000 1.3 +++ HelloHome.java 25 Feb 2002 20:59:58 -0000 1.4 @@ -4,14 +4,13 @@ */ package org.jboss.test.hello.interfaces; -import java.rmi.*; -import javax.ejb.*; +import java.rmi.RemoteException; +import javax.ejb.CreateException; +import javax.ejb.EJBHome; /** - * - * @see <related> - * @author $Author: osh $ - * @version $Revision: 1.3 $ + * @author [EMAIL PROTECTED] + * @version $Revision: 1.4 $ */ public interface HelloHome extends EJBHome @@ -19,33 +18,7 @@ // Constants ----------------------------------------------------- public static final String COMP_NAME = "java:comp/env/ejb/Hello"; public static final String JNDI_NAME = "helloworld/Hello"; - - // Attributes ---------------------------------------------------- - - // Static -------------------------------------------------------- - // Constructors -------------------------------------------------- - - // Public -------------------------------------------------------- - public Hello create() - throws CreateException, RemoteException; + public Hello create() throws CreateException, RemoteException; } - -/* - * $Id: HelloHome.java,v 1.3 2001/02/03 08:32:15 osh Exp $ - * Currently locked by:$Locker: $ - * Revision: - * $Log: HelloHome.java,v $ - * Revision 1.3 2001/02/03 08:32:15 osh - * Minor fix to avoid verifier warning. - * - * Revision 1.2 2001/01/07 23:14:40 peter - * Trying to get JAAS to work within test suite. - * - * Revision 1.1.1.1 2000/06/21 15:52:34 oberg - * Initial import of jBoss test. This module contains CTS tests, some simple examples, and small bean suites. - * - * - * - */
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development