ServiceLocator { public void shutdown() throws RemoteException, ConfigurationException, TransportException { if (serviceCache!=null) serviceCache.shutdown(); } ServiceLocator(UDDIClerk clerk);  ServiceLocator(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties); ServiceLocator withCache(URL baseCallbackURL); ServiceLocator withLiveCache(URL baseCallbackURL); ServiceLocator withSimpleCache(); UDDIServiceCache getUDDIServiceCache(); ServiceLocator setPolicy(String policy); SelectionPolicy getPolicy(); void clearCaches(); void shutdown(); String lookupEndpoint(String serviceKey); String lookupEndpoint(QName serviceQName, String portName);  }
@Test @Ignore public void testRoundRobin() { try { List<String> eprs = new ArrayList<String>(); eprs.add("epr1"); eprs.add("epr2"); eprs.add("epr3"); Properties properties = new Properties(); ServiceLocator locator = new ServiceLocator(null, new URLLocalizerDefaultImpl(), properties); System.out.println(locator); locator.shutdown(); } catch (Exception e) { e.printStackTrace(); Assert.fail(e.getMessage()); } }