Package org.apache.felix.ipojo.runtime.core.api.components

Examples of org.apache.felix.ipojo.runtime.core.api.components.MyComponentImpl


    }

    @Test
   // @Ignore("We can't test as the MyComponentImpl must be manipulated before creating the object")
    public void setObject() throws Exception {
        ComponentInstance cons = createAConsumer().setObject(new MyComponentImpl(5)).create();
        // cons is invalid
        assertThat("cons is invalid", cons.getState(), is(ComponentInstance.INVALID));

        ComponentInstance prov = createAProvider().create();
        assertThat("prov is valid", prov.getState(), is(ComponentInstance.VALID));
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.runtime.core.api.components.MyComponentImpl

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.