User: starksm 
  Date: 02/04/09 17:52:35

  Modified:    src/main/org/jboss/test/cts/interfaces Tag: Branch_2_4
                        StatefulSession.java
  Log:
  Fix PerfTestSession interface errors and add test of setRollbackOnly
  to StatefulSessionTest
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +20 -33    
jbosstest/src/main/org/jboss/test/cts/interfaces/StatefulSession.java
  
  Index: StatefulSession.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/cts/interfaces/StatefulSession.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- StatefulSession.java      25 Jan 2001 02:45:36 -0000      1.7
  +++ StatefulSession.java      10 Apr 2002 00:52:35 -0000      1.7.2.1
  @@ -1,19 +1,15 @@
   package org.jboss.test.cts.interfaces;
   
  -
  -
  -import org.jboss.test.util.ejb.*;
  +import java.rmi.RemoteException;
   import javax.ejb.*;
   
  -
   /**
    * Interface StatefulSession
    *
    *
    * @author
  - * @version %I%, %G%
  + * @version $Revision: 1.7.2.1 $
    */
  -
   public interface StatefulSession
      extends EJBObject
   {
  @@ -26,34 +22,31 @@
       *
       * @return
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public String method1 (String msg)
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method incCounter
       *
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public void incCounter ()
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method decCounter
       *
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public void decCounter ()
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method getCounter
  @@ -61,12 +54,11 @@
       *
       * @return
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public int getCounter ()
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method setCounter
  @@ -74,12 +66,11 @@
       *
       * @param value
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public void setCounter (int value)
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method getBeanContextInfo
  @@ -87,23 +78,21 @@
       *
       * @return
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public BeanContextInfo getBeanContextInfo ()
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method loopbackTest
       *
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public void loopbackTest ()
  -      throws java.rmi.RemoteException;
  +      throws RemoteException;
   
      /**
       * Method loopbackTest
  @@ -111,13 +100,11 @@
       *
       * @param obj
       *
  -    * @throws java.rmi.RemoteException
  +    * @throws RemoteException
       *
       */
  -
      public void loopbackTest (EJBObject obj)
  -      throws java.rmi.RemoteException;
  -}
  -
  +      throws RemoteException;
   
  -/*------ Formatted by Jindent 3.23 Basic 1.0 --- http://www.jindent.de ------*/
  +   public void rollbackOnly() throws RemoteException;
  +}
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to