Package org.apache.felix.ipojo.test.scenarios.configuration.service

Examples of org.apache.felix.ipojo.test.scenarios.configuration.service.CheckService.check()


        // Check the service property
        // Not exposed here:
        assertNull("Classes -0", ref.getProperty("classes"));
       
        CheckService check = (CheckService) getContext().getService(ref);
        assertTrue(check.check());
       
        // Property exposed now.
        ref = Utils.getServiceReferenceByName(getContext(), CheckService.class.getName(), ci.getInstanceName());
        Class[] str = (Class[]) ref.getProperty("classes");
        assertEquals("Classes size", 1, str.length);
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.