Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » EventHandler and ClientSession(New Feature proposal)
EventHandler and ClientSession [message #1273053] Wed, 19 March 2014 08:06
Eclipse UserFriend
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 08:06] by Moderator

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


Current Time: Fri Jul 11 22:39:10 EDT 2025

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

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

Back to the top