|
|
|
|
| Re: IEventBroker without data [message #824225 is a reply to message #822825] |
Mon, 19 March 2012 08:10  |
Brian de Alwis Messages: 242 Registered: July 2009 |
Senior Member |
|
|
Rather than pass null or a dummy object when sending/posting your event, why don't you pass your actual consumer instance? It could be helpful for debugging later. And ignore it otherwise. Remember that the IEventBroker/EventAdmin is global across your OSGi framework instance. This could be important if you have multiple producers.
Oh and if the arg type is org.osgi.services.event.Event (from memory), the UIEventTopic/EventTopic injected value will be the actual Event object too, which might be useful.
|
|
|
Powered by
FUDForum. Page generated in 0.01613 seconds