Package org.osgi.service.component.runtime

Examples of org.osgi.service.component.runtime.ServiceComponentRuntime.disableComponent()


  protected void disableAndCheck(ComponentDescriptionDTO cd) throws InvocationTargetException, InterruptedException {
    ServiceComponentRuntime scr = scrTracker.getService();
        if ( scr != null )
        {
          scr.disableComponent(cd).getValue();
          Assert.assertFalse("Expected component disabled", scr.isComponentEnabled(cd));
        }
        else
        {
          throw new NullPointerException("no ServiceComponentRuntime");
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.