[
https://issues.jboss.org/browse/CDI-86?page=com.atlassian.jira.plugin.sys...
]
Jozef Hartinger commented on CDI-86:
------------------------------------
The idea I had about this was to make @Intialized and @Destroyed qualifiers and reuse the
existing scope annotations e.g:
@Initialized(@ApplicationScoped) Object object
This way we remove the possible confusion from having both @Session and @SessionScoped,
...
It is possible to take this idea even further and require that the container fires the
events not only for the build-in contexts but for any context registered with the
container (e.g. @Initialized(@ViewScoped) Object object). That would require further
changes in the API since currently a Context implementation has not way of telling the
container that it was initialized / destroyed.
Support firing general purpose lifecycle events in Java EE
environments
-----------------------------------------------------------------------
Key: CDI-86
URL:
https://issues.jboss.org/browse/CDI-86
Project: CDI Specification Issues
Issue Type: Feature Request
Components: Java EE integration
Affects Versions: 1.0
Reporter: Pete Muir
Assignee: Pete Muir
Fix For: 1.1 (Confirmed)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira