[jbossws-commits] JBossWS SVN: r3871 - branches/hbraun/trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/client.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Fri Jul 13 05:08:22 EDT 2007
Author: heiko.braun at jboss.com
Date: 2007-07-13 05:08:22 -0400 (Fri, 13 Jul 2007)
New Revision: 3871
Modified:
branches/hbraun/trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/client/SunRIServiceObjectFactory.java
Log:
Use JBoss log framwork instead of system out
Modified: branches/hbraun/trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/client/SunRIServiceObjectFactory.java
===================================================================
--- branches/hbraun/trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/client/SunRIServiceObjectFactory.java 2007-07-13 09:01:36 UTC (rev 3870)
+++ branches/hbraun/trunk/integration/sunri/src/main/java/org/jboss/wsf/stack/sunri/client/SunRIServiceObjectFactory.java 2007-07-13 09:08:22 UTC (rev 3871)
@@ -36,6 +36,7 @@
import java.lang.reflect.Method;
import java.net.URL;
import java.util.Hashtable;
+import org.jboss.logging.Logger;
/**
* This ServiceObjectFactory reconstructs a javax.xml.ws.Service
@@ -48,6 +49,8 @@
* */
public class SunRIServiceObjectFactory implements ObjectFactory
{
+ protected final Logger log = Logger.getLogger(SunRIServiceObjectFactory.class);
+
/**
* Creates an object using the location or reference information specified.
* <p/>
@@ -90,7 +93,7 @@
if (Service.class.getName().equals(targetClassName))
targetClassName = serviceImplClass;
- System.out.println("[name=" + serviceRefName + ",service=" + serviceImplClass + ",target=" + targetClassName + "]");
+ log.debug("getObjectInstance [name=" + serviceRefName + ",service=" + serviceImplClass + ",target=" + targetClassName + "]");
// Load the service class
ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
@@ -180,7 +183,7 @@
private void configureService(Service service, UnifiedServiceRefMetaData serviceRef)
{
- System.out.println("WARN: Service configuration not available in Sun-RI");
+ log.warn("Service configuration not available in Sun-RI");
}
private UnifiedServiceRefMetaData unmarshallServiceRef(Reference ref) throws ClassNotFoundException, NamingException
More information about the jbossws-commits
mailing list