DATACMNS-333 - Added Jackson 2 support to repository populators.
Added necessary infrastructure to use Jackson 2 with repository populators. Expose a jackson2-populator XML element in the namespace to setup a Jackson2 based repository populator.
This commit is contained in:
@@ -2,13 +2,16 @@
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:repository="http://www.springframework.org/schema/data/repository"
|
||||
xmlns:oxm="http://www.springframework.org/schema/oxm"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm-3.1.xsd
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm.xsd
|
||||
http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<repository:jackson-populator id="jackson-populator"
|
||||
locations="classpath:org/springframework/data/repository/init/data.json" />
|
||||
|
||||
<repository:jackson2-populator id="jackson2-populator"
|
||||
locations="classpath:org/springframework/data/repository/init/data.json" />
|
||||
|
||||
<repository:unmarshaller-populator
|
||||
id="xml-populator" locations="classpath:org/springframework/data/repository/init/data.xml"
|
||||
unmarshaller-ref="unmarshaller" />
|
||||
|
||||
Reference in New Issue
Block a user