User: starksm
Date: 01/09/11 11:35:00
Modified: src/main/org/jboss/ejb/plugins/cmp/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.6 +5 -7
jboss/src/main/org/jboss/ejb/plugins/cmp/bmp/CustomFindByEntitiesCommand.java
Index: CustomFindByEntitiesCommand.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/bmp/CustomFindByEntitiesCommand.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- CustomFindByEntitiesCommand.java 2001/09/01 22:03:14 1.5
+++ CustomFindByEntitiesCommand.java 2001/09/11 18:35:00 1.6
@@ -17,12 +17,8 @@
import org.jboss.ejb.EntityEnterpriseContext;
import org.jboss.ejb.plugins.cmp.FindEntitiesCommand;
-
-// TODO this needs to be replaced with the log4j logging
import org.jboss.logging.Logger;
-
import org.jboss.metadata.BeanMetaData;
-
import org.jboss.util.FinderResults;
/**
@@ -34,10 +30,12 @@
*
* @see org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand
* @author <a href="mailto:[EMAIL PROTECTED]">Michel de Groot</a>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
*/
-public class CustomFindByEntitiesCommand implements FindEntitiesCommand {
+public class CustomFindByEntitiesCommand implements FindEntitiesCommand
+{
// Attributes ----------------------------------------------------
+ protected static Logger log = Logger.create(CustomFindByEntitiesCommand.class);
/**
* method that implements the finder
@@ -54,7 +52,7 @@
public CustomFindByEntitiesCommand(Method finderMethod) {
finderImplMethod = finderMethod;
- Logger.debug("Finder: Custom finder " + finderMethod.getName());
+ log.debug("Finder: Custom finder " + finderMethod.getName());
}
// FindEntitiesCommand implementation -------------------------
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development