User: starksm
Date: 01/09/11 11:35:01
Modified: src/main/org/jboss/ejb/plugins/jaws/bmp
CustomFindByEntitiesCommand.java
Log:
Convert all logging to org.jboss.logging.Logger which is a subclass of
org.apache.log4j.Category.
Revision Changes Path
1.8 +3 -5
jboss/src/main/org/jboss/ejb/plugins/jaws/bmp/CustomFindByEntitiesCommand.java
Index: CustomFindByEntitiesCommand.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jaws/bmp/CustomFindByEntitiesCommand.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- CustomFindByEntitiesCommand.java 2001/09/01 19:50:31 1.7
+++ CustomFindByEntitiesCommand.java 2001/09/11 18:35:01 1.8
@@ -16,8 +16,6 @@
import javax.ejb.FinderException;
import org.jboss.ejb.EntityEnterpriseContext;
-
-// TODO this needs to be replaced with the log4j logging
import org.jboss.logging.Logger;
import org.jboss.ejb.plugins.jaws.JPMFindEntitiesCommand;
@@ -33,12 +31,13 @@
*
* @see org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand
* @author <a href="mailto:[EMAIL PROTECTED]">Michel de Groot</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class CustomFindByEntitiesCommand
implements JPMFindEntitiesCommand
{
// Attributes ----------------------------------------------------
+ static Logger log = Logger.create(CustomFindByEntitiesCommand.class);
/** The method implementing the finder. */
protected Method finderImplMethod;
@@ -60,8 +59,7 @@
finderImplMethod = finderMethod;
// set name for debugging purposes
name = "Custom finder "+finderMethod.getName();
-
- Logger.debug("Finder:"+name);
+ log.debug("Finder:"+name);
}
// JPMFindEntitiesCommand implementation -------------------------
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development