@Override
    public IQ handleIQ(IQ packet) throws UnauthorizedException {
        return manager.process(packet);
    }
Manager that keeps the list of ad-hoc commands and processing command requests.
xmppserver/src/main/java/org/jivesoftware/openfire/commands/AdHocCommandHandler.java