Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCreating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759147/#msg_1759147
I can't use MAddon because they must exit after subscribing to topic(s).
I'm not sure where in the MANIFEST.MF editor you can add a bundle or/and class that is activated at application startup. I also don't know what the code would look like (a Main or Start method?)
At the bottom of section 5.1.1 (Service Layer/Essentials) in osgi.core-4.3.0.pdf they state
Persistent Identifier Provide a means for bundles to track services across Framework restarts.
I'm very interested in that because I would like my bundle to span restrarts. Any examples of how osgi services work that I could look at?
I'd also appreciate any links that you think would be useful to me.
]]>Henri Boucher2017-04-06T15:54:58-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759277/#msg_1759277
I tried 3 ways to confirm that the application plug-in starts: println(), eventBroker.post and finally a break-point in the class. All failed.
Any suggestions? I'd also like to confirm that If I did manage to get the application to run, it would share the same framework as my product (eg. share the event bus)?]]>Henri Boucher2017-04-09T22:53:40-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759362/#msg_1759362
Henri Boucher2017-04-10T15:41:47-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759388/#msg_1759388
Thomas Schindl2017-04-11T07:56:44-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759552/#msg_1759552
Henri Boucher2017-04-12T23:10:02-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759553/#msg_1759553
2. The MinMaxAddon method exits after subscribing.]]>Henri Boucher2017-04-12T23:13:46-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759601/#msg_1759601
Henri Boucher2017-04-13T17:46:52-00:00Re: Creating and starting non e4 model bundle
https://www.eclipse.org/forums/index.php/mv/msg/1085458/1759619/#msg_1759619
final class MyAddonThread extends Thread{
public void run() {
System.out.println(eventBroker);
}
}
(new MyAddonThread()).start();