use of org.apache.catalina.deploy.WebXml in project tomcat70 by apache.
the class ContextConfig method processAnnotations.
protected void processAnnotations(Set<WebXml> fragments, boolean handlesTypesOnly) {
for (WebXml fragment : fragments) {
WebXml annotations = new WebXml();
// no impact on distributable
annotations.setDistributable(true);
URL url = fragment.getURL();
processAnnotationsUrl(url, annotations, (handlesTypesOnly || fragment.isMetadataComplete()));
Set<WebXml> set = new HashSet<WebXml>();
set.add(annotations);
// Merge annotations into fragment - fragment takes priority
fragment.merge(set);
}
}
Aggregations