|
|
@@ -1,12 +1,7 @@
|
|
1
|
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
3
|
|
- xmlns:mvc="http://www.springframework.org/schema/mvc"
|
|
4
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
5
|
|
- xsi:schemaLocation="
|
|
6
|
|
- http://www.springframework.org/schema/beans
|
|
7
|
|
- http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
8
|
|
- http://www.springframework.org/schema/mvc
|
|
9
|
|
- http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
|
|
4
|
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
|
|
10
|
5
|
|
|
11
|
6
|
<bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping">
|
|
12
|
7
|
<property name="interceptors">
|
|
|
@@ -16,7 +11,7 @@
|
|
16
|
11
|
</property>
|
|
17
|
12
|
</bean>
|
|
18
|
13
|
|
|
19
|
|
- <bean class="se.citerus.dddsample.interfaces.tracking.CargoTrackingController">
|
|
|
14
|
+ <bean name="/track" class="se.citerus.dddsample.interfaces.tracking.CargoTrackingController">
|
|
20
|
15
|
<property name="cargoRepository" ref="cargoRepository"/>
|
|
21
|
16
|
<property name="handlingEventRepository" ref="handlingEventRepository"/>
|
|
22
|
17
|
<property name="messageSource" ref="messageSource"/>
|
|
|
@@ -38,6 +33,4 @@
|
|
38
|
33
|
<property name="templateEngine" ref="templateEngine" />
|
|
39
|
34
|
</bean>
|
|
40
|
35
|
|
|
41
|
|
- <mvc:annotation-driven />
|
|
42
|
|
-
|
|
43
|
36
|
</beans>
|