@Override
protected List<QName> getLookupKeysForMethod(Method method) {
List<QName> result = new ArrayList<QName>();
PayloadRoots payloadRoots = AnnotationUtils.findAnnotation(method, PayloadRoots.class);
if (payloadRoots != null) {
for (PayloadRoot payloadRoot : payloadRoots.value()) {
result.add(getQNameFromAnnotation(payloadRoot));
}
}
else {
PayloadRoot payloadRoot = AnnotationUtils.findAnnotation(method, PayloadRoot.class);