[jboss-cvs] JBossAS SVN: r60225 - branches/Branch_4_2/ejb3/src/main/org/jboss/injection.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 2 18:21:33 EST 2007
Author: bdecoste
Date: 2007-02-02 18:21:33 -0500 (Fri, 02 Feb 2007)
New Revision: 60225
Modified:
branches/Branch_4_2/ejb3/src/main/org/jboss/injection/JndiFieldInjector.java
Log:
removed commented logging code
Modified: branches/Branch_4_2/ejb3/src/main/org/jboss/injection/JndiFieldInjector.java
===================================================================
--- branches/Branch_4_2/ejb3/src/main/org/jboss/injection/JndiFieldInjector.java 2007-02-02 22:20:54 UTC (rev 60224)
+++ branches/Branch_4_2/ejb3/src/main/org/jboss/injection/JndiFieldInjector.java 2007-02-02 23:21:33 UTC (rev 60225)
@@ -108,14 +108,9 @@
{
Object dependency = lookup(jndiName, field.getType());
- // log.info("!! inject jndiName " + jndiName + " " + field.getType() + " " + dependency);
-
+
try
{
- // log.info("!!! inject " + instance + " " + field.getType() + " " + dependency.getClass());
- // Class[] interfacs = dependency.getClass().getInterfaces();
- // for (Class interfac : interfacs)
- // log.info("!! interface " + interfac);
field.set(instance, dependency);
}
catch (IllegalArgumentException e)
@@ -124,10 +119,6 @@
String interfaces = "";
if (dependency != null)
{
- // log.info("!!! inject failed " + instance + " " + field.getType() + " " + dependency.getClass());
- // Class[] interfacs = dependency.getClass().getInterfaces();
- // for (Class interfac : interfacs)
- // log.info("!! interface " + interfac);
type = dependency.getClass().getName();
Class[] intfs = dependency.getClass().getInterfaces();
for (Class intf : intfs) interfaces += ", " + intf.getName();
More information about the jboss-cvs-commits
mailing list