@Override
    public Iterator<String> getFeatures(String name, String node, JID senderJID) {
        return Arrays.asList(NAMESPACE, "jabber:x:data").iterator();
    }
Manager that keeps the list of ad-hoc commands and processing command requests.
xmppserver/src/main/java/org/jivesoftware/openfire/commands/AdHocCommandHandler.java