table.addColumn(deploymentCol, "Deployment");
table.addColumnSortHandler(sortHandler);
table.getColumnSortList().push(nameCol); // initial sort is on name
final SingleSelectionModel<WebServiceEndpoint> selectionModel = new SingleSelectionModel(keyProvider);
table.setSelectionModel(selectionModel);
selectionModel.addSelectionChangeHandler(new SelectionChangeEvent.Handler() {
@Override
public void onSelectionChange(SelectionChangeEvent event) {
final WebServiceEndpoint selection = selectionModel.getSelectedObject();
sampler.addSample(
new Metric(
selection.getRequestCount(),
selection.getResponseCount(),
selection.getFaultCount()