deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject git commit: DELTASPIKE-712 Add parent class loader to the bmInfos to bypass shrink-wrap behavior.
Date Mon, 08 Sep 2014 23:37:42 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 88fdfaee3 -> 35883fbd0


DELTASPIKE-712 Add parent class loader to the bmInfos to bypass shrink-wrap behavior.


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/35883fbd
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/35883fbd
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/35883fbd

Branch: refs/heads/master
Commit: 35883fbd0d1a1c3dfc9023d67d4c5449e97fe6c2
Parents: 88fdfae
Author: John D. Ament <johndament@apache.org>
Authored: Mon Sep 8 19:37:40 2014 -0400
Committer: John D. Ament <johndament@apache.org>
Committed: Mon Sep 8 19:37:40 2014 -0400

----------------------------------------------------------------------
 .../apache/deltaspike/core/api/provider/BeanManagerProvider.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/35883fbd/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/provider/BeanManagerProvider.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/provider/BeanManagerProvider.java
b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/provider/BeanManagerProvider.java
index 3ff13fe..5f2e4f5 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/provider/BeanManagerProvider.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/provider/BeanManagerProvider.java
@@ -293,6 +293,10 @@ public class BeanManagerProvider implements Extension
                 {
                     bmi = new BeanManagerInfo();
                     bmpSingleton.bmInfos.put(cl, bmi);
+                    if (cl.getParent() != null)
+                    {
+                        bmpSingleton.bmInfos.put(cl.getParent(), bmi);
+                    }
                 }
             }
         }


Mime
View raw message