On 20 January 2014 09:23, <[email protected]> wrote: > Dear, > > I'm porting an external application (Stardog) to OSGi libraries. This > project uses Guice and Guice-assistedinject and multi-bindings. > > Guice itself is installed as an OSGi bundle. assistedinject, and > multibndings are in a Resolved state. > > I've wrapped javax.inject and aopallience as OSGi jars. > > I'm not familiar with the concept of fragments.Should the fragment bundles > be in an installed state to make them work? When should they become > installed? I think that all the necessary dependencies are available. >
Hi Bram, You should just need to install the various bundles, then start the guice bundle - as long as the fragments are installed before you start the guice bundle then they will attach to the host and move to 'resolved' state (fragments don't have activators so they never move to 'active' state). If for some reason the guice bundle has already been started before you install the fragments then you will need to refresh the guice bundle to get them to attach (until this is done the fragments will remain in 'installed' state). -- Cheers, Stuart > With kind regards, > Bram Gadeyne > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.
