aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2014-09-05 15:12:41 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2014-09-05 15:12:41 +0300
commit7ae4ccd2637af8f1d89a76b2bdddd1960315618c (patch)
treed86a3cc1de77848145e952bf0f552fdf84e29a6d /README.md
parent0a3b25e5788d7505ddd2657cb7576cbfdf8a9358 (diff)
downloadpf4j-7ae4ccd2637af8f1d89a76b2bdddd1960315618c.tar.gz
pf4j-7ae4ccd2637af8f1d89a76b2bdddd1960315618c.zip
specify that PluginClassLoader is a Parent Last ClassLoader - it loads the classes from the plugin's jars before delegating to the parent class loader
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index b1a8835..b0cfe49 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,8 @@ It's very simple to add pf4j in your application:
In above code, I created a **DefaultPluginManager** (it's the default implementation for
**PluginManager** interface) that loads and starts all active(resolved) plugins.
Each available plugin is loaded using a different java class loader, **PluginClassLoader**.
-The **PluginClassLoader** contains only classes found in **PluginClasspath** (default _classes_ and _lib_ folders) of plugin and runtime classes and libraries of the required/dependent plugins.
+The **PluginClassLoader** contains only classes found in **PluginClasspath** (default _classes_ and _lib_ folders) of plugin and runtime classes and libraries of the required/dependent plugins.
+This class loader is a Parent Last ClassLoader - it loads the classes from the plugin's jars before delegating to the parent class loader.
The plugins are stored in a folder. You can specify the plugins folder in the constructor of DefaultPluginManager. If the plugins folder is not specified
than the location is returned by `System.getProperty("pf4j.pluginsDir", "plugins")`.