Package org.apache.felix.ipojo.api.composite

Examples of org.apache.felix.ipojo.api.composite.ExportedService


         CompositeComponentType type = new CompositeComponentType()
           .setBundleContext(context)
           .setComponentTypeName("compExport")
           .addSubService(new InstantiatedService().setSpecification(Foo.class.getName()))
           .addService(new ExportedService().setSpecification(Foo.class.getName()));

       ComponentInstance ci = type.createInstance();

       assertThat("ci is valid", ci.getState(), is(ComponentInstance.VALID));
       assertThat("c is valid", c.getState(), is(ComponentInstance.VALID));
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.api.composite.ExportedService

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.