new RefreshCallback(channel));
}
@Process(actionType = RefreshBufferPools.class)
public void refresh(final Dispatcher.Channel channel) {
final ResourceAddress op = new ResourceAddress("{selected.profile}/subsystem=io/", statementContext);
op.get(OP).set(READ_CHILDREN_RESOURCES_OPERATION);
op.get(CHILD_TYPE).set("buffer-pool");
op.get(INCLUDE_RUNTIME).set(true);
dispatcher.execute(new DMRAction(op), new AsyncCallback<DMRResponse>() {
@Override
public void onFailure(Throwable caught) {
channel.nack(caught);