[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Starting equinox framework in program

In the Galileo release (3.5), Equinox is implementing the next version of the OSGi R4.2 specification. One of the new features in OSGi R4.2 is the ability to boot another framework instance. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=244443 for more information.

You should be able to do something like this

Properties configuration = new Properties();
configuration.put(SystemBundle.STORAGE, "/path/to/my/configuration");
SystemBundle equinox = new Equinox();
equinox.init(configuration);
BundleContext systemContext = equinox.getBundleContext();
// manage your bundles here

// now start the framework
equinox.start();


Note that the for RFC 132 is still early and evolving. It would be good to get others experience with using this new feature. If you have any issues or questions about using this feature please respond in the bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=244443


Tom



Inactive hide details for "林恺" ---09/04/2008 06:04:04 AM---Meng, Thanks again. The reason why I did not install my plug-in "林恺" ---09/04/2008 06:04:04 AM---Meng, Thanks again. The reason why I did not install my plug-in in my application is: my application is not an RCP-based app


From:

"林恺" <bmlinkai@xxxxxxxxx>

To:

"Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>

Date:

09/04/2008 06:04 AM

Subject:

Re: [equinox-dev] Starting equinox framework in program




Meng,
Thanks again. The reason why I did not install my plug-in in my application is: my application is not an RCP-based application, most of them might be headless application or web UI application. I developed this plug-in because I was building an IDE to support the development and monitor Equinox-based application, and my monitor plug-in is part of this IDE.
I have thought about using Runtime.exec() to start my another Equinox framework, but how can I get BundleContext using this method?

Link

2008/9/4 Meng Xin Zhu <zhumx@xxxxxxxxxx>

GIF image

GIF image