Mark Struberg created OWB-972:
---------------------------------

             Summary: Define an Application Boundary SPI
                 Key: OWB-972
                 URL: https://issues.apache.org/jira/browse/OWB-972
             Project: OpenWebBeans
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.2.6
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 1.2.7, 2.0.0


We currently generate our proxies with the ClassLoader of the Class which is to 
be proxies. 

But in case of e.g. a producer method for EntityManager.class provided in a 
shared lib of the container we must not use the shared ClassLoader of the whole 
container but only the Application ClassLoader - e.g. the EAR ClassLoader or 
the WAR ClassLoader. Otoh if we proxy a Class from within a WEB-INF/lib jar of 
a WAR inside an EAR, we shall really use the same ClassLoader than the original 
Class.





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to