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?
I'm not sure what you are talking about maybe it's you use Add-On because an MAddon is a e4 model concept. I also don't get why you have multiple EModelServices, there's only one service of this type per application instance.