Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » EventHandler and ClientSession(New Feature proposal)
EventHandler and ClientSession [message #1273053] Wed, 19 March 2014 12:06
João Rebelo is currently offline João RebeloFriend
Messages: 28
Registered: December 2013
Junior Member

I'm analyzing the EventHandler service from Osgi core services, and it seems a quite nice, generic purpose, Event Bus.
Unfortunately this is a Singleton service for all environment which won't work well in RAP environments.

My idea would be have sendEvent and registerListener primitives in ClientSession which will add to each event and Listener the respective session property with the session ID. I believe that Client Session is the real "session singleton" and so the best place to implement this.
Some attention should be taken to remove Session listeners when the session dies.

Any ideas, suggestions?
Any one else needing this?


[Updated on: Wed, 19 March 2014 12:06]

Report message to a moderator

Previous Topic:Wrong error message when form is validated
Next Topic:Deploying RAP to JBoss
Goto Forum:

Current Time: Sat Oct 24 15:46:17 GMT 2020

Powered by FUDForum. Page generated in 0.01468 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top