User: mnf999
Date: 01/08/02 08:54:18
Modified: src/main/org/jboss/test/bank/ejb TellerBean.java
Log:
TestBankTest update with number of threads and the output for visual feedback on
console
Revision Changes Path
1.4 +9 -4 jbosstest/src/main/org/jboss/test/bank/ejb/TellerBean.java
Index: TellerBean.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/ejb/TellerBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TellerBean.java 2001/01/07 23:14:34 1.3
+++ TellerBean.java 2001/08/02 15:54:17 1.4
@@ -14,8 +14,8 @@
/**
*
* @see <related>
- * @author $Author: peter $
- * @version $Revision: 1.3 $
+ * @author $Author: mnf999 $
+ * @version $Revision: 1.4 $
*/
public class TellerBean
extends SessionSupport
@@ -23,7 +23,7 @@
// Constants -----------------------------------------------------
// Attributes ----------------------------------------------------
-
+ static int invocations;
// Static --------------------------------------------------------
// Constructors --------------------------------------------------
@@ -34,6 +34,7 @@
{
try
{
+ System.out.println("Invocation #"+invocations++);
from.withdraw(amount);
to.deposit(amount);
} catch (Exception e)
@@ -136,10 +137,14 @@
}
}
/*
- * $Id: TellerBean.java,v 1.3 2001/01/07 23:14:34 peter Exp $
+ * $Id: TellerBean.java,v 1.4 2001/08/02 15:54:17 mnf999 Exp $
* Currently locked by:$Locker: $
* Revision:
* $Log: TellerBean.java,v $
+ * Revision 1.4 2001/08/02 15:54:17 mnf999
+ * TestBankTest update with number of threads and the output for visual feedback
on console
+ *
+ *
* Revision 1.3 2001/01/07 23:14:34 peter
* Trying to get JAAS to work within test suite.
*
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development