geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r927419 - in /geronimo/specs/trunk: geronimo-activation_1.1_spec/src/main/java/org/apache/geronimo/specs/activation/ geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/ geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/ ger...
Date Thu, 25 Mar 2010 14:21:40 GMT
Author: rickmcguire
Date: Thu Mar 25 14:21:39 2010
New Revision: 927419

URL: http://svn.apache.org/viewvc?rev=927419&view=rev
Log:
dial back the logging to generate less noise at build time

Modified:
    geronimo/specs/trunk/geronimo-activation_1.1_spec/src/main/java/org/apache/geronimo/specs/activation/CommandMapBundleTrackerCustomizer.java
    geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/MailProviderBundleTrackerCustomizer.java
    geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/ContextFinder.java
    geronimo/specs/trunk/geronimo-osgi-support/geronimo-osgi-registry/src/main/java/org/apache/geronimo/osgi/registry/ProviderRegistryImpl.java

Modified: geronimo/specs/trunk/geronimo-activation_1.1_spec/src/main/java/org/apache/geronimo/specs/activation/CommandMapBundleTrackerCustomizer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-activation_1.1_spec/src/main/java/org/apache/geronimo/specs/activation/CommandMapBundleTrackerCustomizer.java?rev=927419&r1=927418&r2=927419&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-activation_1.1_spec/src/main/java/org/apache/geronimo/specs/activation/CommandMapBundleTrackerCustomizer.java
(original)
+++ geronimo/specs/trunk/geronimo-activation_1.1_spec/src/main/java/org/apache/geronimo/specs/activation/CommandMapBundleTrackerCustomizer.java
Thu Mar 25 14:21:39 2010
@@ -57,7 +57,6 @@ public class CommandMapBundleTrackerCust
      */
     @Override
     public Object addingBundle(Bundle bundle, BundleEvent event) {
-        log(LogService.LOG_DEBUG, "Bundle Considered for mailcap providers: " + bundle.getSymbolicName());
         if (bundle.equals(activationBundle)) {
             return null;
         }

Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/MailProviderBundleTrackerCustomizer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/MailProviderBundleTrackerCustomizer.java?rev=927419&r1=927418&r2=927419&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/MailProviderBundleTrackerCustomizer.java
(original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/org/apache/geronimo/mail/MailProviderBundleTrackerCustomizer.java
Thu Mar 25 14:21:39 2010
@@ -60,7 +60,6 @@ public class MailProviderBundleTrackerCu
 
     @Override
     public void modifiedBundle(Bundle bundle, BundleEvent event, Object object) {
-        log(LogService.LOG_DEBUG, "Bundle Considered for mailcap providers: " + bundle.getSymbolicName());
         // this will update for the new bundle
         MailProviderRegistry.registerBundle(bundle);
     }

Modified: geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/ContextFinder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/ContextFinder.java?rev=927419&r1=927418&r2=927419&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/ContextFinder.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxb_2.2_spec/src/main/java/javax/xml/bind/ContextFinder.java
Thu Mar 25 14:21:39 2010
@@ -148,7 +148,7 @@ class ContextFinder {
     private static Class<?> loadSPIClass(Class<?> iface, ClassLoader classLoader)
throws JAXBException {
         try {
             // delegate this to common processing
-            return ProviderLocator.locateServiceClass(iface.getName(), ContextFinder.class,classLoader
);
+            return ProviderLocator.getServiceClass(iface.getName(), ContextFinder.class,classLoader
);
         } catch (ClassNotFoundException e) {
             throw new JAXBException("Provider " + iface.getName() + " not found", e);
         }

Modified: geronimo/specs/trunk/geronimo-osgi-support/geronimo-osgi-registry/src/main/java/org/apache/geronimo/osgi/registry/ProviderRegistryImpl.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-osgi-support/geronimo-osgi-registry/src/main/java/org/apache/geronimo/osgi/registry/ProviderRegistryImpl.java?rev=927419&r1=927418&r2=927419&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-osgi-support/geronimo-osgi-registry/src/main/java/org/apache/geronimo/osgi/registry/ProviderRegistryImpl.java
(original)
+++ geronimo/specs/trunk/geronimo-osgi-support/geronimo-osgi-registry/src/main/java/org/apache/geronimo/osgi/registry/ProviderRegistryImpl.java
Thu Mar 25 14:21:39 2010
@@ -380,11 +380,11 @@ public class ProviderRegistryImpl implem
             // we only process these if there is a header indicating this
             // bundle wants to opt-in to this registration process.
             if (bundle.getHeaders().get(OPT_IN_HEADER) == null) {
-                log(LogService.LOG_INFO, "No '" + OPT_IN_HEADER +
-                    "' Manifest header. Skipping bundle: " + bundle.getSymbolicName());
                 return;
             }
 
+            log(LogService.LOG_INFO, OPT_IN_HEADER + " Manifest header found in bundle: "
+ bundle.getSymbolicName());
+
             serviceProviders = processDefinitions("META-INF/services/");
             // if we have anything, add to global registry
             if (serviceProviders != null) {



Mime
View raw message