]> source.dussan.org Git - pf4j.git/commitdiff
added possibility to overwrite DefaultPluginManager (see #66)
authorDecebal Suiu <decebal.suiu@gmail.com>
Tue, 8 Sep 2015 11:37:12 +0000 (14:37 +0300)
committerDecebal Suiu <decebal.suiu@gmail.com>
Tue, 8 Sep 2015 11:37:12 +0000 (14:37 +0300)
pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java
pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java

index 6976d3d2518338cbc910ec2da3660bac5ab4c203..df63571f9b0c084f9e221cea787e97533042b8a4 100644 (file)
@@ -47,7 +47,7 @@ public class DefaultPluginManager implements PluginManager {
        public static final String DEFAULT_PLUGINS_DIRECTORY = "plugins";
        public static final String DEVELOPMENT_PLUGINS_DIRECTORY = "../plugins";
 
-    private File pluginsDirectory;
+    protected File pluginsDirectory;
 
     private ExtensionFinder extensionFinder;
 
index fb6cee4e466046c328a8510058348d3526e40878..4be8e5d3ec048ce58f79309eb38662f7a78e0ef7 100644 (file)
@@ -23,7 +23,7 @@ import ro.fortsoft.pf4j.util.DirectedGraph;
 /**
  * @author Decebal Suiu
  */
-class DependencyResolver {
+public class DependencyResolver {
 
        private static final Logger log = LoggerFactory.getLogger(DependencyResolver.class);