[infinispan-issues] [JBoss JIRA] (ISPN-3642) make isPre() an annotation on the @Listener API

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Thu Oct 17 13:44:03 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-3642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated ISPN-3642:
-------------------------------

    Description: 
the users should be able to configure cache event listeners like this:

{code:java}
@CacheEntryCreated(pre=true, post=false)
public void entryCreated(CacheEntryEvent e) {
   //e.isPre() is no longer needed here
}
{code}

Discussed on the mailing list: http://infinispan.markmail.org/search/#query:+page:1+mid:y6enpffq3s4vb7fs+state:results

  was:
the users should be able to configure @Listeners like this:

{code:java}
@Listener(pre=true, after=false)
public void entryCreated(CacheEntryEvent e) {
   //e.isPre() is no longer needed here
}
{code}

Discussed on the mailing list: http://infinispan.markmail.org/search/#query:+page:1+mid:y6enpffq3s4vb7fs+state:results


    
> make isPre() an annotation on the @Listener API 
> ------------------------------------------------
>
>                 Key: ISPN-3642
>                 URL: https://issues.jboss.org/browse/ISPN-3642
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core API, Listeners
>            Reporter: Mircea Markus
>            Assignee: Mircea Markus
>
> the users should be able to configure cache event listeners like this:
> {code:java}
> @CacheEntryCreated(pre=true, post=false)
> public void entryCreated(CacheEntryEvent e) {
>    //e.isPre() is no longer needed here
> }
> {code}
> Discussed on the mailing list: http://infinispan.markmail.org/search/#query:+page:1+mid:y6enpffq3s4vb7fs+state:results

--
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 infinispan-issues mailing list