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


      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.


        jjsnyder83 created issue -
        jjsnyder83 made changes -
        Field Original Value New Value
        Assignee jjsnyder83 [ jjsnyder83 ] phil.zampino [ phil.zampino ]
        tlcksnyder made changes -
        Tags 4_0_1-review
        alan42 made changes -
        Tags 4_0_1-review 4_0_1-approved 4_0_1-review
        alan42 made changes -
        Tags 4_0_1-approved 4_0_1-review 4_0_1-approved
        Romain Grécourt made changes -
        Fix Version/s 4.1 [ 16387 ]
        Fix Version/s 4.0.1 [ 16061 ]
        jjsnyder83 made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        jjsnyder83 made changes -
        Status Resolved [ 5 ] Closed [ 6 ]


          • Assignee:
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: