.setDescription(Console.CONSTANTS.subsys_jca_dataSource_metric_desc())
.setMaster("Datasource", tablePanel)
.addDetail("Pool Usage", poolSampler.asWidget())
.addDetail("Prepared Statement Cache", cacheSampler.asWidget());
return layout.build();
}
private DataSource getCurrentSelection() {
return ((SingleSelectionModel<DataSource>) table.getSelectionModel()).getSelectedObject();
}