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

Examples of org.apache.felix.ipojo.runtime.core.services.Plop


    @Test
    public void testDuplicateMethod() {
        ipojoHelper.createComponentInstance("plopimpl", "plop");
        ServiceReference ref = ipojoHelper.getServiceReferenceByName(Plop.class.getName(), "plop");
        assertNotNull("Check plop", ref);
        Plop plop = (Plop) osgiHelper.getServiceObject(ref);
        Object o = plop.getPlop();
        assertEquals("Check result", "plop", o);
        ipojoHelper.dispose();
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.runtime.core.services.Plop

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.