title: Programmatically Start OSGi (Equinox)?
body: <p>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. </p>
  
  <p>Is this possible? If so, how?</p>
  
  <p>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:</p>
  
  <pre><code>BundleContext context = EclipseStarter.startup( ( new String[] { "-console" } ), null );
  </code></pre>
  
  <p>But I'd like to do more - like I said: load more bundles in, maybe start some services, etc.</p>