From 062a2c068d3a9926a24e64a2fa82e41319d8a9dd Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Tue, 8 Sep 2015 14:37:12 +0300 Subject: [PATCH] added possibility to overwrite DefaultPluginManager (see #66) --- pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java | 2 +- pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java index 6976d3d..df63571 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java @@ -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; diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java index fb6cee4..4be8e5d 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java @@ -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);