Package org.apache.felix.ipojo.runtime.externalhandlers.services

Examples of org.apache.felix.ipojo.runtime.externalhandlers.services.FooService.foo()


        ServiceReference ref2 = ipojoHelper.getServiceReferenceByName(FooService.class.getName(), name);
        assertNotNull("Check the foo service availability", ref2);
        FooService fs = (FooService) osgiHelper.getRawServiceObject(ref2);

        fs.foo(); // This trigger the changes.

        assertEquals("check foo value", FooService.VALUE_2, cs.getProps().get("foo"));
    }

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