Package org.apache.felix.ipojo.runtime.core.components

Examples of org.apache.felix.ipojo.runtime.core.components.SimpleClass.hello()


    public void testWhenNoInterface() {
        String factoryName = "org.apache.felix.ipojo.runtime.core.components.SimpleClass";
        ComponentInstance ci = ipojoHelper.createComponentInstance(factoryName);
        osgiHelper.waitForService(SimpleClass.class.getName(), null, 5000);
        SimpleClass simple = (SimpleClass) osgiHelper.getServiceObject(SimpleClass.class.getName(), null);
        assertEquals("Hello", simple.hello());
        ci.dispose();
    }

}
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.