In Spring Web MVC, the DispatcherServlet has a bunch of flags, such as
detectAllHandlerMappings detectAllHandlerAdapters detectAllHandlerExceptionResolvers detectAllViewResolvers
that allow you to choose between finding all type-matched beans on the app context and finding at most one, matched under a specific ID. They all default to true.
I'm trying to figure out a good use case for these; specifically, are there compelling situations in which I'd set one false?