Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: cdi
    • Labels:
      None

      Description

      So in my debugging of the Producer Bean issue I noticed that in GF we have a jar that contains multiple extensions and no beans.xml. So I have the following questions:
      1) Should there be 1 bda for each extension or can multiple extensions go into the same bda?
      Multiple extensions can go into the same BDA as long as accessibility rules are fulfilled. Definitely no need to create separate bda per extension.
      2) Should the extension class itself be placed into the bda as a bean class?
      If they are packaged in the same archive then yes they should end up in the same BDA. However, if you create multiple BDAs and reflect accessibility rules within them in the BDA graph it should again not make a difference.

      Also in DeploymentImpl.getBeanDeploymentArchive check the extension bdas too.

        Activity

        Hide
        jjsnyder83 added a comment -

        This works just fine the way the code is written.

        Show
        jjsnyder83 added a comment - This works just fine the way the code is written.

          People

          • Assignee:
            phil.zampino
            Reporter:
            jjsnyder83
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: