|
|
@ -96,7 +96,7 @@ public class Boot { |
|
|
|
|
|
|
|
|
|
|
|
// print extensions instances from classpath (non plugin)
|
|
|
|
// print extensions instances from classpath (non plugin)
|
|
|
|
log.info("Extensions instances added by classpath:"); |
|
|
|
log.info("Extensions instances added by classpath:"); |
|
|
|
List extensions = pluginManager.getExtensions((String) null); |
|
|
|
List<?> extensions = pluginManager.getExtensions((String) null); |
|
|
|
for (Object extension : extensions) { |
|
|
|
for (Object extension : extensions) { |
|
|
|
log.info(" {}", extension); |
|
|
|
log.info(" {}", extension); |
|
|
|
} |
|
|
|
} |
|
|
@ -134,6 +134,7 @@ public class Boot { |
|
|
|
private static PluginManager createPluginManager() { |
|
|
|
private static PluginManager createPluginManager() { |
|
|
|
return new DefaultPluginManager() { |
|
|
|
return new DefaultPluginManager() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
protected ExtensionFinder createExtensionFinder() { |
|
|
|
protected ExtensionFinder createExtensionFinder() { |
|
|
|
DefaultExtensionFinder extensionFinder = (DefaultExtensionFinder) super.createExtensionFinder(); |
|
|
|
DefaultExtensionFinder extensionFinder = (DefaultExtensionFinder) super.createExtensionFinder(); |
|
|
|
extensionFinder.addServiceProviderExtensionFinder(); // to activate "HowdyGreeting" extension
|
|
|
|
extensionFinder.addServiceProviderExtensionFinder(); // to activate "HowdyGreeting" extension
|
|
|
|