if(controllerMethodContainsSpecificHandler(controllerMethod)){
HandledBy handledBy = controllerMethod.getMethod().getAnnotation(HandledBy.class);
return container.instanceFor(handledBy.value());
}
BeanClass resource = controllerMethod.getController();
if(resourceClassContainsSpecificHandler(resource)){
HandledBy handledBy = resource.getType().getAnnotation(HandledBy.class);
return container.instanceFor(handledBy.value());
}
if(ruleContainsSpecificHandler(rule)){
HandledBy handledBy = rule.getClass().getAnnotation(HandledBy.class);