| author | ymh <ymh.work@gmail.com> |
| Fri, 22 Mar 2013 05:32:07 +0100 | |
| changeset 107 | fc839a1f6ffd |
| parent 106 | d34e253f5c32 |
| child 109 | b6b20e8c4a1a |
| 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:context="http://www.springframework.org/schema/context" |
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
|
6 |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd |
|
7 |
http://www.springframework.org/schema/context |
|
8 |
http://www.springframework.org/schema/context/spring-context-3.0.xsd"> |
|
9 |
|
|
10 |
<!-- Activates various annotations to be detected in bean classes --> |
|
11 |
<context:annotation-config /> |
|
| 87 | 12 |
<context:property-placeholder order="1000" ignore-unresolvable="true" ignore-resource-not-found="false" location="WEB-INF/renkan.properties"/> |
13 |
<context:property-placeholder order="1" ignore-unresolvable="true" ignore-resource-not-found="true" location="classpath:renkan_run.properties"/> |
|
| 45 | 14 |
|
15 |
<!-- Configures the annotation-driven Spring MVC Controller programming model. |
|
16 |
Note that, with Spring 3.0, this tag works in Servlet MVC only! --> |
|
17 |
||
18 |
<!-- Loads MongoDB configuraton --> |
|
19 |
<import resource="mongo-config.xml"/> |
|
20 |
||
21 |
<bean id="springConfigurer" |
|
22 |
class="org.iri_research.renkan.coweb.SpringConfigurer" |
|
23 |
factory-method="getInstance" /> |
|
|
106
d34e253f5c32
Simplify spring integration + correct key for collaborative usage
ymh <ymh.work@gmail.com>
parents:
87
diff
changeset
|
24 |
|
| 45 | 25 |
<!-- Scans the classpath for annotated components that will be auto-registered as Spring beans. |
26 |
For example @Controller and @Service. Make sure to set the correct base-package--> |
|
27 |
<context:component-scan base-package="org.iri_research.renkan.rest" /> |
|
28 |
<context:component-scan base-package="org.iri_research.renkan.coweb" /> |
|
29 |
||
30 |
</beans> |