Repurpose Add-ons [message #1758639] |
Thu, 30 March 2017 19:18  |
Eclipse User |
|
|
|
By the way, I've got MinMaxAddon figured out. Thanks.
My e4 application depends on communication plug-ins that interfaces between remote computers and the local event bus. I would use the Add-on IEventBroker param to access the local bus, and EModelService param to read persisted state entries. I'm not sure how that is done.
I'm curious at how much overhead there is to provide an EModelService for each Add-on. A typical system would have a handfull to a dozen remotes, but an extreme case might have as many a 70.
There should only ever be one communication Add-on for a given remote. So if a second application is started, the Add-on could query using the local bus to see if one is already running, and if so exit. This approach could fail if the plug-ins start at nearly the same time. Is there a better way (maybe OSGi stuff)?
Finally, would it be possible for the Add-ons to remain operational when the application exits?
Bottom line, is this doable?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.42688 seconds