[cdi-dev] [JBoss JIRA] (CDI-21) Support PostConstruct callbacks in Extension class
Antoine Sabot-Durand (JIRA)
issues at jboss.org
Mon Oct 10 08:55:00 EDT 2016
[ https://issues.jboss.org/browse/CDI-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Sabot-Durand closed CDI-21.
-----------------------------------
Resolution: Rejected
{{@BeforeBeanDiscovery}} is nearly the equivalent of {{@PostConstruct}} from the extension inititlisation POV.
> Support PostConstruct callbacks in Extension class
> --------------------------------------------------
>
> Key: CDI-21
> URL: https://issues.jboss.org/browse/CDI-21
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Components: Portable Extensions
> Affects Versions: 1.0
> Reporter: Sivakumar Thyagarajan
> Priority: Minor
> Fix For: 2.0 (discussion)
>
>
> It is sometimes useful to get to know after a portable extension class has been instantiated, so that the state of the Extension could be initialized [ie not establishing state in the constructor and having it called twice when the Extension is proxied]. Though the 1.0 specification does not require this, it would be useful to support @PostConstruct callback on Extension class in the next version of the specification.
> Please see https://jira.jboss.org/browse/WELD-713 for additional information on this issue.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the cdi-dev
mailing list