diff options
author | decebals <decebal.suiu@gmail.com> | 2019-05-30 22:00:52 +0300 |
---|---|---|
committer | decebals <decebal.suiu@gmail.com> | 2019-05-30 22:00:52 +0300 |
commit | 1bfeed1312f038ec0c4ecc454fbb2f9583f22202 (patch) | |
tree | 195c809b64e619bbcc0e97c2485098fda5d5d55e /pf4j/src | |
parent | 2ad15a19742e19a4d49449e3c7ae725b48aec68d (diff) | |
download | pf4j-1bfeed1312f038ec0c4ecc454fbb2f9583f22202.tar.gz pf4j-1bfeed1312f038ec0c4ecc454fbb2f9583f22202.zip |
Add constructors in JarPluginManager
Diffstat (limited to 'pf4j/src')
-rw-r--r-- | pf4j/src/main/java/org/pf4j/JarPluginManager.java | 10 |
1 files changed, 10 insertions, 0 deletions
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(); |