@Test public void testGetOperationsWithOutput() throws Exception { assertEquals("serv699915007Operation", provider.getOperationsWithOutput("inst725927364").iterator().next().getID()); }
@Override public Iterable<Operation<String>> getOperationsWithOutput(String outputInstance) { final Collection<XMLService> services = outputIndex.get(outputInstance); return new Iterable<Operation<String>>() { @Override public Iterator<Operation<String>> iterator() { return Iterators.transform(services.iterator(), new Function<XMLService, Operation<String>>() { @Override public Operation<String> apply(XMLService service) { return getOperation(service.getName()+operationSuffix); } }); } }; }
WSCXMLServiceProvider implements ServiceProvider<String> { @Override public Iterable<Operation<String>> getOperationsWithOutput(String outputInstance) { final Collection<XMLService> services = outputIndex.get(outputInstance); return new Iterable<Operation<String>>() { @Override public Iterator<Operation<String>> iterator() { return Iterators.transform(services.iterator(), new Function<XMLService, Operation<String>>() { @Override public Operation<String> apply(XMLService service) { return getOperation(service.getName()+operationSuffix); } }); } }; } }
WSCXMLServiceProvider implements ServiceProvider<String> { @Override public Iterable<Operation<String>> getOperationsWithOutput(String outputInstance) { final Collection<XMLService> services = outputIndex.get(outputInstance); return new Iterable<Operation<String>>() { @Override public Iterator<Operation<String>> iterator() { return Iterators.transform(services.iterator(), new Function<XMLService, Operation<String>>() { @Override public Operation<String> apply(XMLService service) { return getOperation(service.getName()+operationSuffix); } }); } }; } WSCXMLServiceProvider(InputStream serviceStream);  WSCXMLServiceProvider(File xmlServices); }
WSCXMLServiceProvider implements ServiceProvider<String> { @Override public Iterable<Operation<String>> getOperationsWithOutput(String outputInstance) { final Collection<XMLService> services = outputIndex.get(outputInstance); return new Iterable<Operation<String>>() { @Override public Iterator<Operation<String>> iterator() { return Iterators.transform(services.iterator(), new Function<XMLService, Operation<String>>() { @Override public Operation<String> apply(XMLService service) { return getOperation(service.getName()+operationSuffix); } }); } }; } WSCXMLServiceProvider(InputStream serviceStream);  WSCXMLServiceProvider(File xmlServices); Service<String> getService(String serviceID); @Override Operation<String> getOperation(String operationID); @Override Iterable<Operation<String>> getOperationsWithInput(String inputInstance); @Override Iterable<Operation<String>> getOperationsWithOutput(String outputInstance); @Override Iterable<Operation<String>> getOperations(); @Override Iterable<Service<String>> getServices(); @Override Set<String> listOperations(); @Override Set<String> listServices(); }
WSCXMLServiceProvider implements ServiceProvider<String> { @Override public Iterable<Operation<String>> getOperationsWithOutput(String outputInstance) { final Collection<XMLService> services = outputIndex.get(outputInstance); return new Iterable<Operation<String>>() { @Override public Iterator<Operation<String>> iterator() { return Iterators.transform(services.iterator(), new Function<XMLService, Operation<String>>() { @Override public Operation<String> apply(XMLService service) { return getOperation(service.getName()+operationSuffix); } }); } }; } WSCXMLServiceProvider(InputStream serviceStream);  WSCXMLServiceProvider(File xmlServices); Service<String> getService(String serviceID); @Override Operation<String> getOperation(String operationID); @Override Iterable<Operation<String>> getOperationsWithInput(String inputInstance); @Override Iterable<Operation<String>> getOperationsWithOutput(String outputInstance); @Override Iterable<Operation<String>> getOperations(); @Override Iterable<Service<String>> getServices(); @Override Set<String> listOperations(); @Override Set<String> listServices(); static final String operationSuffix; }