protected void setProvider(String name, DiscoInfoProvider provider) {
        entities.put(name, provider);
    }
Sets that a given DiscoInfoProvider will provide information about a given entity. This
message must be used when new modules (e.g. MUC) are implemented and need to provide
information about them.

@param name     the name of the entity.
@param provider the DiscoInfoProvider that will provide the entity's information.
xmppserver/src/main/java/org/jivesoftware/openfire/disco/IQDiscoInfoHandler.java