You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "dennis hoersch (JIRA)" <de...@myfaces.apache.org> on 2012/06/04 13:37:23 UTC

[jira] [Comment Edited] (MYFACES-3559) Add 'ListenerFor' for system events as annotation configuration

    [ https://issues.apache.org/jira/browse/MYFACES-3559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288507#comment-13288507 ] 

dennis hoersch edited comment on MYFACES-3559 at 6/4/12 11:36 AM:
------------------------------------------------------------------

Added changed files
                
      was (Author: hoersch):
    Changed files
                  
> Add 'ListenerFor' for system events as annotation configuration
> ---------------------------------------------------------------
>
>                 Key: MYFACES-3559
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3559
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.1.7
>            Reporter: dennis hoersch
>         Attachments: AnnotationConfigurator.java, DefaultAnnotationProvider.java
>
>
> By now the system-event-listeners must be configured with 'faces-config.xml'.
> The class 'DefaultAnnotationProvider' has already two lines to enable the bytcode lookup for the annotations 'ListenerFor' and 'ListenersFor' that are commented out.
> Maybe it is possible to enable the detection of system event listeners? I commented that in and wrote an 'handle' method in AnnotationConfigurator. 
> Can anybody check if it is right?
> It works for my project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira