User: peter   
  Date: 00/12/20 20:42:43

  Modified:    src/main/org/jboss/test/cts/interfaces StatefulSession.java
                        StatefulSessionHome.java
  Log:
  Added more tests to stateful session bean.
  
  Revision  Changes    Path
  1.3       +85 -17    
jbosstest/src/main/org/jboss/test/cts/interfaces/StatefulSession.java
  
  Index: StatefulSession.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jbosstest/src/main/org/jboss/test/cts/interfaces/StatefulSession.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StatefulSession.java      2000/08/10 04:09:45     1.2
  +++ StatefulSession.java      2000/12/21 04:42:42     1.3
  @@ -1,31 +1,99 @@
  -/*
  - * Copyright 1999 by dreamBean Software,
  - * All rights reserved.
  - */
   package org.jboss.test.cts.interfaces;
   
  +
  +
  +import org.jboss.test.util.ejb.*;
   import java.rmi.*;
   import javax.ejb.*;
   
  +
   /**
  - *      
  + *
    *   @see <related>
    *   @author $Author: peter $
  - *   @version $Revision: 1.2 $BBBB
  + *   @version $Revision: 1.3 $
    */
  +
   public interface StatefulSession
      extends EJBObject
   {
  -   // Constants -----------------------------------------------------
  -    
  -   // Attributes ----------------------------------------------------
  -   
  -   // Static --------------------------------------------------------
  -
  -   // Constructors --------------------------------------------------
  -   
  -   // Public --------------------------------------------------------
  -   public String method1(String name)
  +
  +   /**
  +    * Method method1
  +    *
  +    *
  +    * @param name
  +    *
  +    * @return
  +    *
  +    * @throws RemoteException
  +    *
  +    */
  +
  +   public String method1 (String name)
  +      throws RemoteException;
  +
  +   /**
  +    * Method incCounter
  +    *
  +    *
  +    * @throws RemoteException
  +    *
  +    */
  +
  +   public void incCounter ()
         throws RemoteException;
   
  +   /**
  +    * Method decCounter
  +    *
  +    *
  +    * @throws RemoteException
  +    *
  +    */
  +
  +   public void decCounter ()
  +      throws RemoteException;
  +
  +   /**
  +    * Method getCounter
  +    *
  +    *
  +    * @return
  +    *
  +    * @throws RemoteException
  +    *
  +    */
  +
  +   public int getCounter ()
  +      throws RemoteException;
  +
  +   /**
  +    * Method setCounter
  +    *
  +    *
  +    * @param value
  +    *
  +    * @throws RemoteException
  +    *
  +    */
  +
  +   public void setCounter (int value)
  +      throws RemoteException;
  +
  +   /**
  +    * Method getBeanContextInfo
  +    *
  +    *
  +    * @return
  +    *
  +    * @throws RemoteException
  +    *
  +    */
  +
  +   public BeanContextInfo getBeanContextInfo ()
  +      throws RemoteException;
   }
  +
  +
  +/*------ Formatted by Jindent 3.23 Basic 1.0 --- http://www.jindent.de ------*/
  
  
  
  1.3       +21 -5     
jbosstest/src/main/org/jboss/test/cts/interfaces/StatefulSessionHome.java
  
  Index: StatefulSessionHome.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jbosstest/src/main/org/jboss/test/cts/interfaces/StatefulSessionHome.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StatefulSessionHome.java  2000/08/10 04:10:02     1.2
  +++ StatefulSessionHome.java  2000/12/21 04:42:42     1.3
  @@ -1,23 +1,39 @@
  +
   /*
    * Copyright 1999 by dreamBean Software,
    * All rights reserved.
    */
   package org.jboss.test.cts.interfaces;
   
  +
  +
   import java.rmi.*;
   import javax.ejb.*;
   
  +
   /**
  - *      
  + *
    *   @see <related>
    *   @author $Author: peter $
  - *   @version $Revision: 1.2 $
  + *   @version $Revision: 1.3 $
    */
  +
   public interface StatefulSessionHome
      extends EJBHome
   {
  +
      // Constants -----------------------------------------------------
  -   public StatefulSession create()
  -      throws RemoteException; 
  +
  +   /**
  +    * Method create
  +    *
  +    *
  +    * @return
  +    *
  +    */
  +
  +   public StatefulSession create ();
   }
   
  +
  +/*------ Formatted by Jindent 3.23 Basic 1.0 --- http://www.jindent.de ------*/
  
  
  

Reply via email to