title: How to override CommonAnnotationBeanPostProcessor by custom preprocessor
body: <p>I am trying to override Springs <em>CommonAnnotationBeanPostProcessor</em> with a custom class (CustomCommonAnnotationBeanPostProcessor) which extends CommonAnnotationBeanPostProcessor. </p>
  
  <p>I see from the document that it is possible to do it, but I am not sure how to. </p>
  
  <blockquote>
    <p>NOTE: A default CommonAnnotationBeanPostProcessor will be registered by the "context:annotation-config" and "context:component-scan" XML tags. Remove or turn off the default annotation configuration there if you intend to specify a custom CommonAnnotationBeanPostProcessor bean definition!</p>
  </blockquote>
  
  <p>Has anybody done this before? </p>