circuit.dispatch(new ModifyThreadPool(changedValues));
}
public void launchAddThreadFactory() {
if (addThreadFactoryDialog == null) {
addThreadFactoryDialog = new AddResourceDialog(BatchStore.THREAD_FACTORIES_ADDRESS,
batchStore.getStatementContext(), securityFramework.getSecurityContext(),
new AddResourceDialog.Callback() {
@Override
public void onAddResource(ResourceAddress address, ModelNode payload) {
window.hide();