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 Rebelo
Messages: 28
Registered: December 2013
Junior Member
Hi,

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?

Regards
João

[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: Tue Oct 21 08:53:07 GMT 2014

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

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