Added ApplicationEvent handling and annotation-based extension mechanism.
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user