Added ValidatingRepositoryEventListener as a default bean so it's on all the time.

This commit is contained in:
Jon Brisbin
2012-04-26 13:53:53 -05:00
parent 7738b95b18
commit 2f0c20bd31
3 changed files with 10 additions and 15 deletions

View File

@@ -11,14 +11,4 @@
<bean id="beforeSavePersonValidator" class="org.springframework.data.rest.test.webmvc.PersonValidator"/>
<bean class="org.springframework.data.rest.repository.context.ValidatingRepositoryEventListener"/>
<!--
<bean class="org.springframework.data.rest.test.webmvc.PersonLoader">
<property name="personRepository" ref="personRepository"/>
<property name="profileRepository" ref="profileRepository"/>
<property name="addressRepository" ref="addressRepository"/>
</bean>
-->
</beans>