table.requestFocus();
}
@Override
public void applyTo(JmsLocation loc) throws IntegrationDataPanelException {
JndiContextTableValidationResult v = table.validate();
if (v.isValid()) {
loc.setJndiContextProperties(table.getContext());
} else {
StringBuffer sb = new StringBuffer("Invalid context properties:");
for (String err : v.getErrors()) {
sb.append("\n").append(err);
}
throw new IntegrationDataPanelException(sb.toString());
}
}