Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » volatile variable to propagate event between bundles
volatile variable to propagate event between bundles [message #672635] Sun, 22 May 2011 05:56
Ming Qin is currently offline Ming QinFriend
Messages: 22
Registered: July 2009
Junior Member
I get an idea to use volatile variable to propagate event between bundles.

The design is to set a volatile variable in a spring-powered bundle and export that bundle to other spring-powered bundles. Other spring-powered bundles will poll the status of that volatile variable, if volatile variable gets changed which indicates an event happened on that bundle, then the other bundles could refresh their contained spring context.

This design can avoid the bundle events propagation complexity caused by whiteboard pattern implementation.

Does anyone have implemented this light-weight event propagation on virgo kernel-based application?
Thanks
Previous Topic:The Missing HttpService
Next Topic:Spring DM 1.2's standard extender mechanism in Virgo 3.0.0 M04
Goto Forum:
  


Current Time: Sun Dec 08 22:59:56 GMT 2024

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

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

Back to the top