diff --git a/src/main/java/com/guicedee/guicedinjection/GuiceContext.java b/src/main/java/com/guicedee/guicedinjection/GuiceContext.java index 2ffe661..615866d 100644 --- a/src/main/java/com/guicedee/guicedinjection/GuiceContext.java +++ b/src/main/java/com/guicedee/guicedinjection/GuiceContext.java @@ -407,6 +407,10 @@ private void loadConfiguration() .getCanonicalName()); guiceConfigurator.configure(GuiceContext.config); } + if(!GuiceContext.config.isIncludeModuleAndJars()) + { + log.warning("Scanning is not restricted to modules and may incur a performance impact. Consider registering your module with GuiceContext.registerModule() to auto enable, or SPI IGuiceConfiguration"); + } GuiceContext.log.config("IGuiceConfigurator : " + GuiceContext.config.toString()); configured = true; }