openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bergm...@apache.org
Subject svn commit: r1380378 - in /openwebbeans/trunk: webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/ webbeans-impl/src/main/java/org/apache/webbeans/plugins/ webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/ webbeans-web/src/main...
Date Mon, 03 Sep 2012 21:46:27 GMT
Author: bergmark
Date: Mon Sep  3 21:46:26 2012
New Revision: 1380378

URL: http://svn.apache.org/viewvc?rev=1380378&view=rev
Log:
[OWB-697] Non-static loggers leads to NonSerializableException.  Thanks to Thomas Andraschko.

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
    openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java?rev=1380378&r1=1380377&r2=1380378&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
Mon Sep  3 21:46:26 2012
@@ -43,7 +43,7 @@ import org.apache.webbeans.util.ClassUti
 
 public abstract class AbstractMetaDataDiscovery implements ScannerService
 {
-    protected final Logger logger = WebBeansLoggerFacade.getLogger(getClass());
+    protected static final Logger logger = WebBeansLoggerFacade.getLogger(AbstractMetaDataDiscovery.class);
 
     public static final String META_INF_BEANS_XML = "META-INF/beans.xml";
 

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java?rev=1380378&r1=1380377&r2=1380378&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/plugins/PluginLoader.java
Mon Sep  3 21:46:26 2012
@@ -49,7 +49,7 @@ import org.apache.webbeans.spi.plugins.O
 public class PluginLoader
 {
     /**Logger instance*/
-    private  final Logger logger = WebBeansLoggerFacade.getLogger(PluginLoader.class);
+    private static final Logger logger = WebBeansLoggerFacade.getLogger(PluginLoader.class);
 
     /** unmodifiable list with all found OWB plugins */
     private List<OpenWebBeansPlugin> plugins = null;

Modified: openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java?rev=1380378&r1=1380377&r2=1380378&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
(original)
+++ openwebbeans/trunk/webbeans-osgi/src/main/java/org/apache/webbeans/osgi/scanner/OsgiMetaDataScannerService.java
Mon Sep  3 21:46:26 2012
@@ -56,7 +56,7 @@ import java.util.zip.ZipEntry;
  */
 public class OsgiMetaDataScannerService implements ScannerService
 {
-    private Logger logger = WebBeansLoggerFacade.getLogger(OsgiMetaDataScannerService.class);
+    private static final Logger logger = WebBeansLoggerFacade.getLogger(OsgiMetaDataScannerService.class);
 
     protected ServletContext servletContext = null;
     private static final String META_INF_BEANS_XML = "META-INF/beans.xml";

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java?rev=1380378&r1=1380377&r2=1380378&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBag.java
Mon Sep  3 21:46:26 2012
@@ -49,7 +49,7 @@ public class FailOverBag implements Seri
     private static final long serialVersionUID = -6314819837009653189L;
     
     /**Logger instance*/
-    protected  final Logger logger =
+    protected static final Logger logger =
             WebBeansLoggerFacade.getLogger(FailOverBag.class);
     
     private String sessionId;

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java?rev=1380378&r1=1380377&r2=1380378&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/failover/FailOverBagWrapper.java
Mon Sep  3 21:46:26 2012
@@ -45,7 +45,7 @@ import org.apache.webbeans.spi.FailOverS
 public class FailOverBagWrapper implements Serializable, Externalizable, HttpSessionActivationListener
 {
     /**Logger instance*/
-    protected  final Logger logger = WebBeansLoggerFacade.getLogger(FailOverBagWrapper.class);
+    protected static final Logger logger = WebBeansLoggerFacade.getLogger(FailOverBagWrapper.class);
 
     private transient FailOverService failoverService;
 



Mime
View raw message