LinkResource service = m
.getAnnotation(LinkResource.class);
if(service != null)
processLinkResource(m, entity, uriInfo, ret, service);
// find a multi-service
LinkResources services = m
.getAnnotation(LinkResources.class);
if(services != null)
for(LinkResource service2 : services.value())
processLinkResource(m, entity, uriInfo, ret, service2);
}