Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2344

Share proxy class for built-in beans of the same type

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.0.0.CR1, 2.4.2.SP1
    • Fix Version/s: 3.0.0.CR2, 2.4.3.Final
    • Component/s: None
    • Labels:
      None

      Description

      Weld registers a built-in Bean per each bean archive (e.g. for javax.enterprise.event.Event, java.security.Principal, etc.) and also creates a proxy class for each such bean (the proxy class name contains the bean id). As a result, there are several redundant proxy classes generated. It should be safe to share a proxy class for all the beans of the same type (e.g. all EventBean instances).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mkouba Martin Kouba
                Reporter:
                mkouba Martin Kouba
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: