| author | ymh <ymh.work@gmail.com> |
| Wed, 04 Mar 2015 09:39:11 +0100 | |
| changeset 395 | 2e8c92eb0dfa |
| parent 316 | 242510015401 |
| child 457 | b38cf3d4cf1f |
| permissions | -rw-r--r-- |
| 45 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:p="http://www.springframework.org/schema/p" |
|
5 |
xmlns:mongo="http://www.springframework.org/schema/data/mongo" |
|
6 |
xmlns:context="http://www.springframework.org/schema/context" |
|
7 |
xmlns:jpa="http://www.springframework.org/schema/data/jpa" |
|
| 83 | 8 |
xsi:schemaLocation=" |
9 |
http://www.springframework.org/schema/context |
|
10 |
http://www.springframework.org/schema/context/spring-context.xsd |
|
11 |
http://www.springframework.org/schema/beans |
|
12 |
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd |
|
| 45 | 13 |
http://www.springframework.org/schema/data/mongo |
| 83 | 14 |
http://www.springframework.org/schema/data/mongo/spring-mongo-1.2.xsd |
| 45 | 15 |
http://www.springframework.org/schema/data/jpa |
| 83 | 16 |
http://www.springframework.org/schema/data/jpa/spring-jpa-1.3.xsd"> |
| 87 | 17 |
|
18 |
<context:property-placeholder order="1000" ignore-unresolvable="true" ignore-resource-not-found="false" location="WEB-INF/renkan.properties"/> |
|
19 |
<context:property-placeholder order="1" ignore-unresolvable="true" ignore-resource-not-found="true" location="classpath:renkan_run.properties"/> |
|
| 45 | 20 |
<!-- Default bean name is 'mongo' --> |
| 87 | 21 |
<mongo:mongo host="${mongodb.host.name}" port="${mongodb.host.port}" /> |
| 45 | 22 |
|
23 |
<!-- Offers convenience methods and automatic mapping between MongoDB JSON documents and your domain classes. --> |
|
24 |
<bean id="mongoTemplate" class="org.springframework.data.mongodb.core.MongoTemplate"> |
|
25 |
<constructor-arg ref="mongo"/> |
|
| 87 | 26 |
<constructor-arg value="${mongodb.db.name}"/> |
| 45 | 27 |
<property name="writeResultChecking" value="EXCEPTION"/> |
28 |
</bean> |
|
29 |
|
|
30 |
<mongo:repositories base-package="org.iri_research.renkan" factory-class="org.iri_research.renkan.repositories.RenkanRepositoryFactoryBean" /> |
|
|
76
523f0647513e
add the count of project by spaces, add pagination, update libraries and add some more unit tests.
ymh <ymh.work@gmail.com>
parents:
45
diff
changeset
|
31 |
|
| 45 | 32 |
</beans> |