As I understand from docs the <mvc:annotation-driven/> is just a shortcut for registering RequestMappingHandlerMapping, RequestMappingHandlerAdapter, ExceptionHandlerExceptionResolver and some other things.
My question is: how I can manually define same functionality as provides <mvc:annotation-driven/> without using <mvc:annotation-driven/> ?
I.e. I need example of Spring configuration which defines and configures all the beans implicitly created by <mvc:annotation-driven/> shortcut. In other words I need compiled version of <mvc:annotation-driven/> (with all default values).
P.S. I need it because <mvc:annotation-driven/> is not so flexible and doesn't provide ways to configure implicitly registered beans (I want to configure alwaysUseFullPath property of RequestMappingHandlerMapping)