@Override
    public void run() {
        installed = XMPPServer.getInstance().getPluginManager().getPluginByCanonicalName(pluginName).isPresent();
    }
Do not use this constructor. It exists for deserialization purposes.
xmppserver/src/main/java/org/jivesoftware/openfire/container/IsPluginInstalledTask.java