You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2014/11/18 10:11:34 UTC

[jira] [Updated] (OWB-972) Define an Application Boundary SPI

     [ https://issues.apache.org/jira/browse/OWB-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg updated OWB-972:
------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.5.0

> 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, 1.5.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.3.4#6332)