Package org.apache.felix.ipojo.test.scenarios.component

Examples of org.apache.felix.ipojo.test.scenarios.component.SimpleClass.hello()


    IPOJOHelper helper = new IPOJOHelper(this);
    String factoryName = "org.apache.felix.ipojo.test.scenarios.component.SimpleClass";
    ComponentInstance ci = helper.createComponentInstance(factoryName);
    waitForService(SimpleClass.class.getName(), null, 5000);
    SimpleClass simple = (SimpleClass) getServiceObject(SimpleClass.class.getName(), null);
    assertEquals("Hello", simple.hello());
    ci.dispose();
  }

}
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.