@Override
        public int compareTo(final PluginToLoad that) {
            // NB. This violates the Comparable recommendation. Quote:
            // <p>It is strongly recommended, but <i>not</i> strictly required that
            // {@code (x.compareTo(y)==0) == (x.equals(y))}.
            return this.pluginName.compareTo(that.pluginName);
        }
Two plugins are considered "equal" if they share the same canonical name, <strong>or</strong> the same
name from the plugin.xml file. This class represents a plugin that could be loaded to encapsulate this concept
<p>
    Note: this class has a natural ordering that is inconsistent with equals.
</p>
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginMonitor.java