From 45916182d8a74f31363ff27d2848b120153154a5 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Fri, 15 Mar 2013 15:38:31 +1100 Subject: [PATCH] 393971 Improve setParentLoaderPriorty javadoc --- .../java/org/eclipse/jetty/webapp/WebAppContext.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java index 66ce3b43574..361099e9f92 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java @@ -872,7 +872,8 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL * @return True if the classloader should delegate first to the parent * classloader (standard java behaviour) or false if the classloader * should first try to load from WEB-INF/lib or WEB-INF/classes (servlet - * spec recommendation). + * spec recommendation). Default is false or can be set by the system + * property org.eclipse.jetty.server.webapp.parentLoaderPriority */ @Override @ManagedAttribute(value="parent classloader given priority", readonly=true) @@ -1104,7 +1105,11 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL /* ------------------------------------------------------------ */ /** - * @param java2compliant The java2compliant to set. + * @param java2compliant True if the classloader should delegate first to the parent + * classloader (standard java behaviour) or false if the classloader + * should first try to load from WEB-INF/lib or WEB-INF/classes (servlet + * spec recommendation). Default is false or can be set by the system + * property org.eclipse.jetty.server.webapp.parentLoaderPriority */ public void setParentLoaderPriority(boolean java2compliant) {