]
Martin Kouba commented on CDI-21:
---------------------------------
+1 for BeforeBeanDiscovery. Only a CDI container is allowed to fire container lifecycle
events (see also 10.2.1. The Event interface) and so it is safe to assume the event will
only be delivered once.
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.