Package org.eclipse.osgi.framework.internal.core

Examples of org.eclipse.osgi.framework.internal.core.OSGi.launch()


public class EquinoxStartTestCase extends TestCase {

    public void testStart() throws Exception {
        FrameworkAdaptor adaptor = new DefaultAdaptor(new String[]{});
        OSGi osgi = new OSGi(adaptor);
        osgi.launch();
//        FileInputStream stream = new FileInputStream("/Users/jmarino/workspace/tuscany/tuscany/tuscany/sandbox/jboynes/sca/runtime/equinox/src/test/resources/http.jar");
//        osgi.getBundleContext().installBundle("foo", stream);
        for (Bundle bundle : osgi.getBundleContext().getBundles()) {

        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.