public static String getCanonicalName( Plugin plugin )
    {
        return XMPPServer.getInstance().getPluginManager().getCanonicalName( plugin );
    }
Returns the canonical name for the plugin, derived from the plugin archive file name.

Note that this value can be different from the 'human readable' plugin name, as returned by {@link #getName(Path)}.

Note that this method will return data only for plugins that have successfully been installed. To obtain data
from plugin (directories) that have not (yet) been  installed, refer to the overloaded method that takes a Path
argument.

@param plugin The plugin (cannot be null)
@return the plugin's canonical name.
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginMetadataHelper.java