|
|
@ -21,7 +21,6 @@ import java.util.Set; |
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import ro.fortsoft.pf4j.DefaultPluginManager; |
|
|
|
import ro.fortsoft.pf4j.DefaultPluginManager; |
|
|
|
import ro.fortsoft.pf4j.JarPluginManager; |
|
|
|
|
|
|
|
import ro.fortsoft.pf4j.PluginManager; |
|
|
|
import ro.fortsoft.pf4j.PluginManager; |
|
|
|
import ro.fortsoft.pf4j.PluginWrapper; |
|
|
|
import ro.fortsoft.pf4j.PluginWrapper; |
|
|
|
import ro.fortsoft.pf4j.demo.api.Greeting; |
|
|
|
import ro.fortsoft.pf4j.demo.api.Greeting; |
|
|
@ -38,8 +37,7 @@ public class Boot { |
|
|
|
printLogo(); |
|
|
|
printLogo(); |
|
|
|
|
|
|
|
|
|
|
|
// create the plugin manager
|
|
|
|
// create the plugin manager
|
|
|
|
// final PluginManager pluginManager = new DefaultPluginManager();
|
|
|
|
final PluginManager pluginManager = new DefaultPluginManager(); |
|
|
|
final PluginManager pluginManager = new JarPluginManager(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// load the plugins
|
|
|
|
// load the plugins
|
|
|
|
pluginManager.loadPlugins(); |
|
|
|
pluginManager.loadPlugins(); |
|
|
|