[cdi-dev] [JBoss JIRA] (CDI-425) Invocation of any container lifecycle event method at runtime should result in exception

Jozef Hartinger (JIRA) issues at jboss.org
Thu Apr 3 06:03:13 EDT 2014


    [ https://issues.jboss.org/browse/CDI-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12958824#comment-12958824 ] 

Jozef Hartinger commented on CDI-425:
-------------------------------------

for AfterTypeDiscovery we should probably not only guard AfterTypeDiscovery methods but also write operations on the interceptor/decorator/alternative lists.
                
> Invocation of any container lifecycle event method at runtime should result in exception
> ----------------------------------------------------------------------------------------
>
>                 Key: CDI-425
>                 URL: https://issues.jboss.org/browse/CDI-425
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>    Affects Versions: 1.1.Final
>            Reporter: Martin Kouba
>            Assignee: Antoine Sabot-Durand
>              Labels: CDI_api_chge, CDI_spec_chge, CDI_tck_chge, Ready_to_fix
>             Fix For: 1.2 Proposed
>
>
> At runtime (after AfterDeploymentValidation event is fired) invocation of container lifecycle event methods should be explicitly forbidden and result in exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list