openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bergm...@apache.org
Subject svn commit: r1380361 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
Date Mon, 03 Sep 2012 21:21:04 GMT
Author: bergmark
Date: Mon Sep  3 21:21:03 2012
New Revision: 1380361

URL: http://svn.apache.org/viewvc?rev=1380361&view=rev
Log:
[OWB-698] Add default constructor to make InjectableBeanManager serializable.  Thanks to Thomas
Andraschko

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java?rev=1380361&r1=1380360&r2=1380361&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/InjectableBeanManager.java
Mon Sep  3 21:21:03 2012
@@ -62,6 +62,14 @@ public class InjectableBeanManager imple
     
     private transient BeanManager bm;
 
+    /**
+     * Used by serialization.
+     */
+    public InjectableBeanManager()
+    {
+        bm = WebBeansContext.getInstance().getBeanManagerImpl();
+    }
+
     public InjectableBeanManager(BeanManager bm)
     {
         this.bm = bm;



Mime
View raw message