Skip to content

Commit

Permalink
Merge pull request #128 from decebals/jar_plugin_manager
Browse files Browse the repository at this point in the history
Add JarPluginManager, PluginLoader, AbstractPluginManager
  • Loading branch information
decebals committed Feb 26, 2017
2 parents c82df37 + d7f245e commit 002f1e3
Show file tree
Hide file tree
Showing 30 changed files with 1,502 additions and 1,247 deletions.
2 changes: 2 additions & 0 deletions demo/app/src/main/java/ro/fortsoft/pf4j/demo/Boot.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.apache.commons.lang.StringUtils;

import ro.fortsoft.pf4j.DefaultPluginManager;
import ro.fortsoft.pf4j.JarPluginManager;
import ro.fortsoft.pf4j.PluginManager;
import ro.fortsoft.pf4j.PluginWrapper;
import ro.fortsoft.pf4j.demo.api.Greeting;
Expand All @@ -38,6 +39,7 @@ public static void main(String[] args) {

// create the plugin manager
final PluginManager pluginManager = new DefaultPluginManager();
// final PluginManager pluginManager = new JarPluginManager();

// load the plugins
pluginManager.loadPlugins();
Expand Down
2 changes: 1 addition & 1 deletion demo/app/src/main/resources/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ log4j.rootLogger=DEBUG, Console
#
log4j.logger.ro.fortsoft.pf4j=DEBUG, Console
# !!! Put the bellow classes on level TRACE when you are in trouble
log4j.logger.ro.fortsoft.pf4j.PluginClassLoader=WARN, Console
log4j.logger.ro.fortsoft.pf4j.PluginClassLoader=DEBUG, Console
log4j.logger.ro.fortsoft.pf4j.AbstractExtensionFinder=DEBUG, Console
log4j.additivity.ro.fortsoft.pf4j=false
log4j.additivity.ro.fortsoft.pf4j.PluginClassLoader=false
Expand Down

0 comments on commit 002f1e3

Please sign in to comment.