but allow alternative name searchVirtualFirst to make it
consistent with the "virtual" terminology.
Now you can decide, whether the virtual paths will
be searched before the webapp or after it.
If searched before, external resources take precendence
over internal ones. Before that change one couldn't overwrite
resources already present in the webapp.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936825
13f79535-47bb-0310-9956-
ffa450edef68
}
/**
+ * @return Returns searchVirtualFirst.
+ */
+ public boolean getSearchVirtualFirst() {
+ return getSearchExternalFirst();
+ }
+
+ /**
+ * @param searchVirtualFirst Whether the virtual class path should be searched before the webapp
+ */
+ public void setSearchVirtualFirst(boolean searchVirtualFirst) {
+ setSearchExternalFirst(searchVirtualFirst);
+ }
+
+ /**
* Implement the requirements
* of {@link LifecycleBase#startInternal()}.
*
description="The reloadable flag for this Loader"
type="boolean"/>
+ <attribute name="searchVirtualFirst"
+ description="The searchVirtualFirst flag for this Loader"
+ type="boolean"/>
+
<attribute name="repositories"
description="Extra repositories managed by this loader"
type="[Ljava.lang.String;"/>