diff --git a/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/META-INF/MANIFEST.MF index 8250aa8af7..399a674add 100644 --- a/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/META-INF/MANIFEST.MF +++ b/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/META-INF/MANIFEST.MF @@ -13,8 +13,7 @@ Require-Bundle: javax.persistence;bundle-version="1.0.0", org.apache.commons.cxf;bundle-version="1.0.0", com.raytheon.uf.common.status;bundle-version="1.12.1174", com.raytheon.uf.common.util;bundle-version="1.12.1174", - org.reflections;bundle-version="0.9.9", - org.apache.commons.logging;bundle-version="1.1.2" + org.reflections;bundle-version="0.9.9" Export-Package: com.raytheon.uf.common.registry, com.raytheon.uf.common.registry.schemas.ebxml.util, com.raytheon.uf.common.registry.schemas.ebxml.util.annotations, diff --git a/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/src/com/raytheon/uf/common/registry/schemas/ebxml/util/EbxmlJaxbManager.java b/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/src/com/raytheon/uf/common/registry/schemas/ebxml/util/EbxmlJaxbManager.java index f52e44f5eb..d1bc9c4d14 100644 --- a/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/src/com/raytheon/uf/common/registry/schemas/ebxml/util/EbxmlJaxbManager.java +++ b/edexOsgi/com.raytheon.uf.common.registry.schemas.ebxml/src/com/raytheon/uf/common/registry/schemas/ebxml/util/EbxmlJaxbManager.java @@ -30,10 +30,10 @@ import org.reflections.Reflections; import org.reflections.scanners.TypeAnnotationsScanner; import org.reflections.util.ClasspathHelper; import org.reflections.util.ConfigurationBuilder; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import com.raytheon.uf.common.serialization.JAXBManager; +import com.raytheon.uf.common.status.IUFStatusHandler; +import com.raytheon.uf.common.status.UFStatus; /** * A JAXB Manager for transforming EBXML objects to/from XML. @@ -58,7 +58,8 @@ import com.raytheon.uf.common.serialization.JAXBManager; public class EbxmlJaxbManager { /** The logger */ - private static Log theLogger = LogFactory.getLog(EbxmlJaxbManager.class); + private static final transient IUFStatusHandler statusHandler = UFStatus + .getHandler(EbxmlJaxbManager.class); private static EbxmlJaxbManager instance; @@ -74,7 +75,7 @@ public class EbxmlJaxbManager { } public String findJaxables(String packageName) { - theLogger.info("Scanning package ... " + packageName); + statusHandler.info("Scanning package ... " + packageName); long t0 = System.currentTimeMillis(); ConfigurationBuilder cb = new ConfigurationBuilder(); @@ -93,7 +94,7 @@ public class EbxmlJaxbManager { jaxables.addAll(set); } long t1 = System.currentTimeMillis(); - theLogger.info("Found " + set.size() + " classes for ebxml in " + statusHandler.info("Found " + set.size() + " classes for ebxml in " + (t1 - t0) + " ms"); // if jaxb has already been initialized, reset it so that it will be // recreated with the latest set of jaxable classes. @@ -121,6 +122,6 @@ public class EbxmlJaxbManager { jaxables.add(oasis.names.tc.ebxml.regrep.xsd.rs.v4.ObjectFactory.class); jaxables.add(oasis.names.tc.ebxml.regrep.xsd.spi.v4.ObjectFactory.class); - theLogger.info("Initialization Complete."); + statusHandler.info("Initialization Complete."); } } \ No newline at end of file