From: decebals Date: Thu, 30 May 2019 19:00:52 +0000 (+0300) Subject: Add constructors in JarPluginManager X-Git-Tag: release-3.0.0~2^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1bfeed1312f038ec0c4ecc454fbb2f9583f22202;p=pf4j.git Add constructors in JarPluginManager --- diff --git a/pf4j/src/main/java/org/pf4j/JarPluginManager.java b/pf4j/src/main/java/org/pf4j/JarPluginManager.java index 5921aa5..f280466 100644 --- a/pf4j/src/main/java/org/pf4j/JarPluginManager.java +++ b/pf4j/src/main/java/org/pf4j/JarPluginManager.java @@ -15,6 +15,8 @@ */ package org.pf4j; +import java.nio.file.Path; + /** * It's a {@link PluginManager} that loads each plugin from a {@code jar} file. * Actually, a plugin is a fat jar, a jar which contains classes from all the libraries, @@ -24,6 +26,14 @@ package org.pf4j; */ public class JarPluginManager extends DefaultPluginManager { + public JarPluginManager() { + super(); + } + + public JarPluginManager(Path pluginsRoot) { + super(pluginsRoot); + } + @Override protected PluginDescriptorFinder createPluginDescriptorFinder() { return new ManifestPluginDescriptorFinder();