private void stopCommand(AdHocCommand command) {
        infoHandler.removeServerNodeInfoProvider(command.getCode());
        itemsHandler.removeServerNodeInfoProvider(command.getCode());
    }
Removes the command from the list of ad-hoc commands supported by this server. The command
will no longer appear in the discoverable items list.

@param command the ad-hoc command to remove.
xmppserver/src/main/java/org/jivesoftware/openfire/commands/AdHocCommandHandler.java