Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-972

Define an Application Boundary SPI

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.6
    • Fix Version/s: 1.2.7, 1.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                struberg Mark Struberg
                Reporter:
                struberg Mark Struberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: