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/06/19 19:48:25 UTC
[jira] [Created] (OWB-972) Define an Application Boundary SPI
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)