Added ApplicationEvent handling and annotation-based extension mechanism.

This commit is contained in:
Jon Brisbin
2012-04-26 11:40:14 -05:00
parent 57caa05823
commit fe9e485d81
31 changed files with 987 additions and 41 deletions

View File

@@ -9,6 +9,10 @@
<jpa:repositories base-package="org.springframework.data.rest.test.webmvc"/>
<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"/>