Advertisement
nimchimpsky

spring text controller context config

Aug 10th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <bean id="autoConfigurer" class="com.socialgastro.config.context.AutoBeanDeclarer"></bean>
  2.  
  3. <!-- stops processing of beans if they are mocks (nested dependencies are ignored) -->
  4. <bean id="mockPostProcessor" class="com.socialgastro.config.context.MockPostProcessor"></bean>
  5.  
  6. <!-- Activates various annotations to be detected in bean classes -->
  7. <context:component-scan base-package="com.socialgastro.recipe.controller, com.socialgastro.user.controller"/>
  8.  
  9. <context:annotation-config/>
  10. <mvc:annotation-driven/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement