title: Configure spring-data-mongodb repositories with Spring 3.1's Java configuration
body: <pre><code>&lt;mongo:repositories base-package="com.acme.*.repositories" /&gt;
  </code></pre>
  
  <p>Is there a way to do this with new Java based <code>@Configuration</code> support?</p>