From eefe2341bd01991cbc342f910c0e2adf4ea3a28a Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Thu, 17 Sep 2015 13:42:21 +0300 Subject: [PATCH] make more fields protected in DefaultPluginManager --- .../fortsoft/pf4j/DefaultPluginManager.java | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java index df63571..865bc5f 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DefaultPluginManager.java @@ -49,67 +49,67 @@ public class DefaultPluginManager implements PluginManager { protected File pluginsDirectory; - private ExtensionFinder extensionFinder; + protected ExtensionFinder extensionFinder; - private PluginDescriptorFinder pluginDescriptorFinder; + protected PluginDescriptorFinder pluginDescriptorFinder; - private PluginClasspath pluginClasspath; + protected PluginClasspath pluginClasspath; /** * A map of plugins this manager is responsible for (the key is the 'pluginId'). */ - private Map plugins; + protected Map plugins; /** * A map of plugin class loaders (he key is the 'pluginId'). */ - private Map pluginClassLoaders; + protected Map pluginClassLoaders; /** * A relation between 'pluginPath' and 'pluginId' */ - private Map pathToIdMap; + protected Map pathToIdMap; /** * A list with unresolved plugins (unresolved dependency). */ - private List unresolvedPlugins; + protected List unresolvedPlugins; /** * A list with resolved plugins (resolved dependency). */ - private List resolvedPlugins; + protected List resolvedPlugins; /** * A list with started plugins. */ - private List startedPlugins; + protected List startedPlugins; /** * The registered {@link PluginStateListener}s. */ - private List pluginStateListeners; + protected List pluginStateListeners; /** * Cache value for the runtime mode. No need to re-read it because it wont change at * runtime. */ - private RuntimeMode runtimeMode; + protected RuntimeMode runtimeMode; /** * The system version used for comparisons to the plugin requires attribute. */ - private Version systemVersion = Version.forIntegers(0, 0, 0); + protected Version systemVersion = Version.forIntegers(0, 0, 0); - private PluginFactory pluginFactory; - private ExtensionFactory extensionFactory; - private PluginStatusProvider pluginStatusProvider; - private DependencyResolver dependencyResolver; + protected PluginFactory pluginFactory; + protected ExtensionFactory extensionFactory; + protected PluginStatusProvider pluginStatusProvider; + protected DependencyResolver dependencyResolver; /** * The plugins repository. */ - private PluginRepository pluginRepository; + protected PluginRepository pluginRepository; /** * The plugins directory is supplied by System.getProperty("pf4j.pluginsDir", "plugins"). -- 2.39.5