[richfaces-issues] [JBoss JIRA] Commented: (RF-11110) Push and CDI Events integration

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Sep 27 09:30:26 EDT 2011


    [ https://issues.jboss.org/browse/RF-11110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630738#comment-12630738 ] 

Lukáš Fryč commented on RF-11110:
---------------------------------

Considering what integration points may be achieved on RichFaces side, I have nailed down following concepts:

* *{{@Push}} qualifier*
** all qualified events will try to be serialize payload using {{TopicsContext#publish(topicKey, payload)}};
** {{@Push("subtopic at topic") @Event Event<Payload> event;}}
** qualifier parameters:
*** value
**** maps to {{TopicKey#topicName}}
**** may contain subtopic in format subtopic at topic
**** may be provided dynamically by event.select(AnnotationLiteral)
**** when no value provided, push fails
*** subtopic
**** maps to {{TopicKey#subtopicName}}
**** may be provided dynamically by {{event.select(AnnotationLiteral)}}
* *{{TopicsContext}} provider*
** {{@Inject TopicsContext topicsContext;}}
* *{{TopicKey}} provider*
** {{@Inject @Push("subtopic at topic") TopicKey;}}


> Push and CDI Events integration
> -------------------------------
>
>                 Key: RF-11110
>                 URL: https://issues.jboss.org/browse/RF-11110
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: component-push/poll
>            Reporter: Brian Leathem
>            Assignee: Lukáš Fryč
>            Priority: Critical
>             Fix For: 4.1.0.Milestone3
>
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> I would really like to see ajax push work with CDI events directly, without any requirement for JMS.  
> Ideally we would leverage the work done in the Errai project.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list