pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aappddeevv" <aappdde...@verizon.net>
Subject RE: [jira] Commented: (PIVOT-535) Add a @MessageListener annotation and an annotation processor for application context message listener
Date Sun, 20 Jun 2010 14:08:50 GMT
Here's the code that I am using. Not all the corner cases have tested out
yet, but this is the general idea.

The one thing that could become a concern about the messaging in the
application context is how to filter messages efficiently on more than just
class type-which is large grained filtering. But its not a problem now so
fine-grained filtering can be in a message listener subclass or in the
annotated method itself.



-----Original Message-----
From: Greg Brown (JIRA) [mailto:jira@apache.org] 
Sent: Sunday, June 20, 2010 9:45 AM
To: dev@pivot.apache.org
Subject: [jira] Commented: (PIVOT-535) Add a @MessageListener annotation and
an annotation processor for application context message listener


    [
https://issues.apache.org/jira/browse/PIVOT-535?page=com.atlassian.jira.plug
in.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880636#action_1
2880636 ] 

Greg Brown commented on PIVOT-535:
----------------------------------

Agreed re: weak listeners - not a good idea.

Appddevv,

Can you provide a description of how these new features would work,
including code examples? I'd also like to understand how the annotation
processing would work and where it would live (basically, I am looking for a
mini "design spec" for what you are proposing).

Thanks,
Greg



> Add a @MessageListener annotation and an annotation processor for
application context message listener
>
----------------------------------------------------------------------------
--------------------------
>
>                 Key: PIVOT-535
>                 URL: https://issues.apache.org/jira/browse/PIVOT-535
>             Project: Pivot
>          Issue Type: Improvement
>            Reporter: Appddevvv
>
> Add a message listener annotation and a static method for annotation
processing to automatically enroll instance/methods in application message
handling.
> I have the classes that I can submit as a starting point. They allow weak
and strong references as well as optional request-reply semantics.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Mime
View raw message