User: user57
Date: 02/02/14 22:15:52
Modified: src/main/org/jboss/test/hello/ejb HelloBean.java
Log:
o replaced most System.out usage with Log4j. should really introduce
some base classes to make this mess more maintainable...
Revision Changes Path
1.3 +8 -5 jbosstest/src/main/org/jboss/test/hello/ejb/HelloBean.java
Index: HelloBean.java
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/hello/ejb/HelloBean.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HelloBean.java 7 Jan 2001 23:14:39 -0000 1.2
+++ HelloBean.java 15 Feb 2002 06:15:52 -0000 1.3
@@ -16,8 +16,8 @@
/**
*
* @see <related>
- * @author $Author: peter $
- * @version $Revision: 1.2 $
+ * @author $Author: user57 $
+ * @version $Revision: 1.3 $
*/
public class HelloBean
extends SessionSupport
@@ -80,7 +80,7 @@
{
new Thread(new Runnable()
{
- public void run() { System.out.println("Running"); }
+ public void run() { log.debug("Running"); }
}).start();
throw new EJBException("Thread Failed");
} catch (EJBException e)
@@ -108,7 +108,7 @@
{
Properties cfg = new Properties();
cfg.load(new HelloUtil().getResource("test.properties", this));
- System.out.println(cfg);
+ log.debug(cfg);
} catch (EJBException e)
{
throw e;
@@ -125,10 +125,14 @@
}
/*
- * $Id: HelloBean.java,v 1.2 2001/01/07 23:14:39 peter Exp $
+ * $Id: HelloBean.java,v 1.3 2002/02/15 06:15:52 user57 Exp $
* Currently locked by:$Locker: $
* Revision:
* $Log: HelloBean.java,v $
+ * Revision 1.3 2002/02/15 06:15:52 user57
+ * o replaced most System.out usage with Log4j. should really introduce
+ * some base classes to make this mess more maintainable...
+ *
* Revision 1.2 2001/01/07 23:14:39 peter
* Trying to get JAAS to work within test suite.
*
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development