}
});
argumentsResolver.registerRequestParamResolver("nodeId", new RequestParamArgumentResolver() {
public void addToArgumentsCache(ArgumentCandidatesCache cache, Object paramValue) {
if (paramValue != null) {
CMObject node = repositoryService.fetch(CMObject.class, new NodeRef((String) paramValue));
cache.add(CMObject.class, node);
}
}
});