[cdi-dev] [JBoss JIRA] (CDI-746) PBA should be fired just after PAT and not after PIP or PIT

Romain Manni-Bucau (Jira) issues at jboss.org
Tue Jun 9 05:08:26 EDT 2020


Romain Manni-Bucau created CDI-746:
--------------------------------------

             Summary: PBA should be fired just after PAT and not after PIP or PIT
                 Key: CDI-746
                 URL: https://issues.redhat.com/browse/CDI-746
             Project: CDI Specification Issues
          Issue Type: Bug
          Components: Portable Extensions
    Affects Versions: 2.0.SP1
            Reporter: Romain Manni-Bucau


Today spec put PBA after PIP and PIT which leads to have orphan events for PIP and PIT and thefore register wrong beans in portable extensions if PBA is veto.

Luckily today PBA is not that used but we should ensure vetos happen before any other events to ease work for extension author (didn't see any extension checking the information captured are no more relevant today so this affects pretty much all extensions + it breaks extension and alternative support in most cases).

Proposal is to move up the PBA event after PAT one enabling a straight forward extension API instead of a very complex one for meta capture today.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the cdi-dev mailing list