glassfish
  1. glassfish
  2. GLASSFISH-11517

WeldApplicationFactory breaks the ability to decorate a JSF Application

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: 3.1
    • Component/s: jsf
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      11,517

      Description

      With weld enabled, one can't decorate the application with an own
      ApplicationFactory.

      The problem seems to be in the private field defaultApplication set from
      InjectionApplicationFactory. It seems that WeldApplication should extend
      ApplicationWrapper and act like a wrapper.
      Also WeldApplicationFactory.getApplication always returns application, even if
      someone called setApplication.

        Activity

          People

          • Assignee:
            rogerk
            Reporter:
            Frank Caputo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: