[seam-issues] [JBoss JIRA] Commented: (SEAMSERVLET-5) @Attribute("foo") for attribute listeners

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Thu Apr 15 01:52:30 EDT 2010


    [ https://jira.jboss.org/jira/browse/SEAMSERVLET-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12525806#action_12525806 ] 

Nicklas Karlsson commented on SEAMSERVLET-5:
--------------------------------------------

@Observe @Attribute("foo") @Removed ServletContextAttributeEvent e (which reads pretty naturally)

if you just want to be noticed when that particular attribute is removed. Instead of having to listen to all an examine the events

There is some duplication in qualifiers because session *values* are *bound* but SC *attributes* are *added* but I think we should stick to same terminology the spec uses.

> @Attribute("foo") for attribute listeners
> -----------------------------------------
>
>                 Key: SEAMSERVLET-5
>                 URL: https://jira.jboss.org/jira/browse/SEAMSERVLET-5
>             Project: Seam Servlet
>          Issue Type: Feature Request
>            Reporter: Nicklas Karlsson
>            Assignee: Nicklas Karlsson
>
> Add annotation for filtering out events for a particular attribute

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list