commit | db2a51a2631411c4979743e18dd88e4d6d3b7c91 | [log] [tgz] |
---|---|---|
author | Werner Punz <werpu@apache.org> | Wed Oct 24 13:46:44 2012 +0000 |
committer | Werner Punz <werpu@apache.org> | Wed Oct 24 13:46:44 2012 +0000 |
tree | d1b2b36ca7a4d38fd4956180fd8c147c58e47e4b | |
parent | f38eadfcef601abebd5651713896f08a4c0acb3b [diff] |
adding init comment to avoid future confusion git-svn-id: https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk@1401679 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/extscript-core-root/extscript-cdi/src/main/java/org/apache/myfaces/extensions/scripting/cdi/core/ExtScriptScannerService.java b/extscript-core-root/extscript-cdi/src/main/java/org/apache/myfaces/extensions/scripting/cdi/core/ExtScriptScannerService.java index 817279f..0b26855 100644 --- a/extscript-core-root/extscript-cdi/src/main/java/org/apache/myfaces/extensions/scripting/cdi/core/ExtScriptScannerService.java +++ b/extscript-core-root/extscript-cdi/src/main/java/org/apache/myfaces/extensions/scripting/cdi/core/ExtScriptScannerService.java
@@ -53,7 +53,9 @@ { } - + //the service starts faster than our faces-servlet hence we need to initialize + //our system here, a second init is then done in the faces servlet + //but given that the system runs is ignored. public void init(Object context) { super.init(context); @@ -65,7 +67,8 @@ { try { - + //the reloading listener also is the marker to avoid double initialisation + //after the container is kickstarted if (servletContext.getAttribute(RELOADING_LISTENER) == null) { StartupServletContextPluginChainLoader.startup(servletContext);