-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/08/14 17:34, Tim McIver wrote: > I've got an application that is using Felix in an embedded fashion > and we're using OSGi to implement a plugin architecture. One of my > main goals is to automatically update any installed plugins from an > external OBR. Before I spend any more time trying to write custom > code to do this, I'd like to know if there is an existing feature > in OSGi or Felix that does this already? I've begun writing code > that gets the symbolic name of any installed plugin, then uses this > to get all Resources with a given symbolic name from the external > OBR. Next, I would see if any of these Resources are a more recent > version of what's installed. Finally, I need the framework to use > these newer bundles instead of the old ones. I feel like this is a > common use case but it's unclear to me if this is already > implemented in OSGi, Felix or some other framework.
You probably want to take a look at the Deployment Admin specification (also present as Felix subproject), which allows you to define "deployment packages" containing new bundles and/or other resources to install/update. What Deployment Admin does not provide, is an easy way of determining what should go into a deployment package. If your plugins are fully self-contained, this might be as easy as pie, but if your plugins consist of multiple bundles and/or resources this might become rather difficult. In these cases, it might be worthwhile to look into a project like Apache ACE for a more complete solution. HtH, - -- Met vriendelijke groeten | Kind regards Jan Willem Janssen | Software Architect +31 631 765 814 /My world is revolving around INAETICS and Amdatu/ Luminis Technologies B.V. Churchillplein 1 7314 BZ Apeldoorn +31 88 586 46 00 http://www.luminis-technologies.com http://www.luminis.eu KvK (CoC) 09 16 28 93 BTW (VAT) NL8169.78.566.B.01 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJT4LWYAAoJEKF/mP2eHDc42PsQAM2kN187nZ9fFI/9oI2eOCXp kgzGvHtOfXnwxTVJ9c+MH150TAT9YK5edZkCr56tXkOGsAyklQeXcTc1NyNa2gHp 0gH2kQWWBTcpxzfxKmXPisQVJVkh80iJu8qiOtrVVWoYsnVpdRfXhGNTQkw2wVI6 mo2dhKHvg2z71m7kDDrzSc0CxxIyvS3dMB2KPLa6n6jpEhgCgi5cwVPRYu3aH8Hc 6FfVqcRNa+f9LQsBy0Xm4k8sSOgk30+EW6Hd2gRmNdpG3ysPaEVGe/yfFSQBKXWU TiECwt0rbuStXcGgeVJ12iCD8SKu+8IZJgshjsFDwZbsbDbmYGOT0z9bN0deZinW rsHVlogKeVHThi5TzufhS+DHc+tB9JapnzEj6VGOYG53hH+EeBH3i17uDNjWzFiH o0rSFYJt396ygvGbr1OWSGe0h3gQxBgxFi9EiU18PMReiF27mYXVssSMJ2dkv8Kw UaET/0FZawSyHXEvFpOvKn94OLo7Zc98n0kMrK4iA7w2RK9SvLzBIHXjE6BHZ7tq UO9G93pxjEO/Uy6G/NKUfbQ8lopQp0U3qlM0zJlAt1fjf1dIA17fQ79TLfHCrNhs knQaH61Fc1dvcNI8d+nAiSioB5B+Jp4tnLTsdW2+r+x4byeHS3YPGlbwmg86PWK9 rHoD88WZlzDpFeLOSbK4 =1cUx -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

