Programatically Start OSGi (Equinox)?
- by javamonkey79
I'd like to be able to easily start an OSGi framework (preferably Equinox) and load up any bundles listed in my pom from a java main.
Is this possible? If so, how?
It seems like the pax tools would do this, but I can't seem to find any documentation indicating such. I know I can start up Equinox like so:
BundleContext context = EclipseStarter.startup( ( new String[] { "-console" } ), null );
But I'd like to do more - like I said: load more bundles in, maybe start some services, etc.