title: Turn off org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers
body: <p>How to turn off org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers , I put spring 3 startup in debug mode, and I see all classes call 'detectHandlers' </p>
  
  <p>example </p>
  
  <pre><code>[org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:86)] - Rejected bean name 'org.springframework.security.authenticationManager': no URL paths identified
  
  [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:86)] - Rejected bean name 'systemProperties': no URL paths identified
  
  [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping detectHandlers org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:86)] - Rejected bean name 'systemEnvironment': no URL paths identified
  </code></pre>
  
  <p>only my "controller" classes have handlers and all other classes do not have. I'm trying to speed up spring startup. Anyway to turn off this auto detect handler feature for every class?</p>