[
https://issues.apache.org/jira/browse/MYFACES-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916754#action_12916754
]
Leonardo Uribe commented on MYFACES-2509:
-----------------------------------------
Attached patch with some changes and sent to jsr-314-open list the question
under the topic:
[jsr-314-open] Cannot register listener for PostConstructApplicationEvent and
PreDestroyApplicationEvent using @ListenerFor annotation
> @ListenerFor not processed for global system events
> ---------------------------------------------------
>
> Key: MYFACES-2509
> URL: https://issues.apache.org/jira/browse/MYFACES-2509
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Jan-Kees van Andel
> Assignee: Jan-Kees van Andel
> Attachments: ListenerFor_support.patch, MYFACES-2509-1.patch
>
>
> We currently don't process @ListenerFor and @ListenerFor annotations on
> non-component types.
> This is specified in the spec for global system events, see:
> http://java.sun.com/javaee/javaserverfaces/2.0/docs/api/index.html?javax/faces/event/ListenerFor.html
> It would be nice to have it in the beta.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.