Added xml configuration for GridFS
This commit is contained in:
parent
c6be2af18f
commit
7defd5d598
|
@ -15,6 +15,11 @@
|
||||||
<property name="host" value="localhost"/>
|
<property name="host" value="localhost"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="gridFsTemplate" class="org.springframework.data.mongodb.gridfs.GridFsTemplate">
|
||||||
|
<constructor-arg ref="mongoDbFactory" />
|
||||||
|
<constructor-arg ref="mongoConverter" />
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="mongoTemplate" class="org.springframework.data.mongodb.core.MongoTemplate">
|
<bean id="mongoTemplate" class="org.springframework.data.mongodb.core.MongoTemplate">
|
||||||
<constructor-arg name="mongo" ref="mongo"/>
|
<constructor-arg name="mongo" ref="mongo"/>
|
||||||
<constructor-arg ref="mongoConverter" />
|
<constructor-arg ref="mongoConverter" />
|
||||||
|
|
Loading…
Reference in New Issue