@GET @Path("{annotationId}") public Annotation getAnnotation(@PathParam("annotationId") String annotationId) { AnnotationService annotationService = Framework.getService(AnnotationService.class); return annotationService.getAnnotation(getContext().getCoreSession(), annotationId); }