title: Excluding classes from test context
body: <p>How to exclude some beans from loading with component-scan, in an context that <code>&lt;import&gt;</code>'s from another <code>xml</code> that does need to scan all packages.
  This works nicly if I put it to main context:</p>
  
  <pre><code>&lt;context:component-scan base-package="com.main"&gt;
          &lt;context:exclude-filter expression="com.main.*Controller" type="regex"/&gt;
  &lt;/context:component-scan&gt;
  </code></pre>
  
  <p>But I need controllers in live environment.</p>
  
  <p>I'd like to exclude controller class loading from my integration test context. How would it be possible to achieve this? </p>