diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2015-09-08 14:37:12 +0300 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2015-09-08 14:37:12 +0300 |
commit | 062a2c068d3a9926a24e64a2fa82e41319d8a9dd (patch) | |
tree | b5bc519596d7947118de1d5122a29b3ad1db806d /pf4j/src | |
parent | 648e2bf1df06f163fe82c250d889ccb7c5cc4b34 (diff) | |
download | pf4j-062a2c068d3a9926a24e64a2fa82e41319d8a9dd.tar.gz pf4j-062a2c068d3a9926a24e64a2fa82e41319d8a9dd.zip |
added possibility to overwrite DefaultPluginManager (see #66)
Diffstat (limited to 'pf4j/src')
-rw-r--r-- | pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java | 2 | ||||
-rw-r--r-- | 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); |