| Filter cyclic service registrations in EventHook [message #513544] |
Wed, 10 February 2010 09:27  |
Markus Kuppe Messages: 177 Registered: July 2009 |
Senior Member |
|
|
Hi,
what is the intended way to filter cyclic
org.osgi.framework.BundleContext.registerService(String, Object,
Dictionary) calls in an EventHook?
E.g. an Eventhook listens for "foo" services and upon services
registration creates a modified version of the original service and
registers it with the framework, again as a "foo" service. Obviously
this causes the hook to be notified by the framework again about the new
"foo" services.
Do I need to use marker properties to prevent the EventHook from running
into a cycle?
Thanks
Markus
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.12104 seconds