Package org.eclipse.ecf.tests.discovery.listener

Examples of org.eclipse.ecf.tests.discovery.listener.ThreadTestServiceListener.wait()


      ServiceRegistration registration = ctxt.registerService(IServiceListener.class.getName(), tsl, props);
     
      // IServiceListener#triggerDiscovery should have triggered re-discovery
      // register a service which we expect the test listener to get notified of
      try {
        tsl.wait(waitTimeForProvider);
      } catch (final InterruptedException e) {
        Thread.currentThread().interrupt();
        fail("Some discovery unrelated threading issues?");
      } finally {
        registration.unregister();
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.