Advertisement
nimchimpsky

spring test controller context config

Aug 10th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.53 KB | None | 0 0
  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