tornadofx-guide icon indicating copy to clipboard operation
tornadofx-guide copied to clipboard

more info on OSGI automatic activation

Open ronsmits opened this issue 9 years ago • 3 comments

It would be good to have an example where a bundle is automatically activated when a bundle is loaded.

ronsmits avatar Sep 06 '16 21:09 ronsmits

Do you mean that we should show the meta data involved in registering an activator?

edvin avatar Sep 07 '16 10:09 edvin

My usecase would be as follows: 1 start the OSGi container with one tornadofx bundle in it, you will get the view of that bundle 2 drop a second bundle in it. You don't have to do anything as user or bundle dropper it just gets activated and the new view is added to the already visible view.

Basically like a plugin😉

Op wo 7 sep. 2016 12:14 schreef Edvin Syse [email protected]:

Do you mean that we should show the meta data involved in registering an activator?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/edvin/tornadofx-guide/issues/7#issuecomment-245236756, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkVlq6weXqG1NL2-Stmk71Y9D2yn3JQks5qno51gaJpZM4J2Sze .

ronsmits avatar Sep 07 '16 10:09 ronsmits

OK, will do :) Thanks, Ron!

edvin avatar Sep 07 '16 11:09 edvin