public synchronized Optional<Plugin> getPluginByCanonicalName( String canonicalName )
    {
        return Optional.ofNullable(pluginsLoaded.get( canonicalName.toLowerCase() ));
    }
Returns a loaded plugin by its canonical name or {@code null} if a plugin with that name does not exist. The
canonical name is the lowercase-name of the plugin archive, without the file extension. For example: "broadcast".

Note that the canonical name of the plugin is sensitive to filenames outside of the plugin's author direct
control. Prefer using {@link #getPluginByName(String)}.

@param canonicalName the name of the plugin.
@return the plugin.
xmppserver/src/main/java/org/jivesoftware/openfire/container/PluginManager.java