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

Examples of org.apache.felix.ipojo.runtime.externalhandlers.services.FooService


        // Change value.

        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

Related Classes of org.apache.felix.ipojo.runtime.externalhandlers.services.FooService

Copyright © 2018 www.massapicom. 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.