use of javax.xml.ws.WebServiceRef in project Payara by payara.
the class WebServiceRefsHandler method processAnnotation.
public HandlerProcessingResult processAnnotation(AnnotationInfo ainfo) throws AnnotationProcessorException {
WebServiceRefs wsRefsAnnotation = (WebServiceRefs) ainfo.getAnnotation();
WebServiceRef[] wsRefAnnotations = wsRefsAnnotation.value();
List<HandlerProcessingResult> results = new ArrayList<HandlerProcessingResult>();
for (WebServiceRef wsRef : wsRefAnnotations) {
results.add(processAWsRef(ainfo, wsRef));
}
HandlerProcessingResult finalResult = null;
for (HandlerProcessingResult result : results) {
if (finalResult == null || (result.getOverallResult().compareTo(finalResult.getOverallResult()) > 0)) {
finalResult = result;
}
}
return finalResult;
}
Aggregations