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:Create web service consumer on server - timeout
Next Topic:Deploying RAP to JBoss
Goto Forum:

Current Time: Wed Apr 26 08:45:13 GMT 2017

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

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