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

Simplify access to a deployment's BeanManager, when its id (or the BDA id) is known

    XMLWordPrintable

Details

    • Feature Request
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Obsolete
    • 1.1.0.Beta2
    • None
    • Weld SPI
    • None

    Description

      Currently, the BM id and BDA ID are practically equivalent.

      Retrieving the BeanManager if said ID is known requires iterating Deployment.getBeanDeploymentArchives() until the BDA is found and then retrieving the BeanManager from the deployment by using Bootstrap.getManager(BeanDeploymentArchive beanDeploymentArchive).

      This can be simplified by introducing Deployment.getBeanDeploymentArchive(String BDAid). Another possibility is to provide Bootstrap.getManager(String bdaID). Both variants would simplify the access code and make it work faster.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marius.bogoevici Marius Bogoevici (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: