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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Minor
    • 3.0.0.CR2, 2.4.3.Final
    • 3.0.0.CR1, 2.4.2.SP1
    • None
    • 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).

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            mkouba@redhat.com Martin Kouba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: