To find out the HandlerMethods, we now use an Autowired RequestMappingHandlerMapping instead of the beanFactory construction from before.
Together with some more clean-up, this makes the code much easier to read.