*/
private void registerHandler(Class<?> marshallingServiceClass, Method method) {
ApplicationContext ctx = getApplicationContext();
RestResource restResource = AnnotationUtils.findAnnotation(marshallingServiceClass, RestResource.class);
Class<?> serviceClass = restResource.service();
RestRequestResource restRequestResource = AnnotationUtils.findAnnotation(method, RestRequestResource.class);
boolean export = (restRequestResource != null ? restRequestResource.export() : true);
boolean relative = (restRequestResource != null ? restRequestResource.relative() : true);