...
|
...
|
@@ -4,6 +4,7 @@ |
|
|
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
|
|
xmlns:aop="http://www.springframework.org/schema/aop"
|
|
|
xmlns="http://www.springframework.org/schema/beans"
|
|
|
xmlns:task="http://www.springframework.org/schema/task"
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
|
http://www.springframework.org/schema/context
|
...
|
...
|
@@ -11,14 +12,18 @@ |
|
|
http://www.springframework.org/schema/aop
|
|
|
http://www.springframework.org/schema/aop/spring-aop-3.1.xsd
|
|
|
http://www.springframework.org/schema/mvc
|
|
|
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
|
|
http://www.springframework.org/schema/mvc/spring-mvc.xsd
|
|
|
http://www.springframework.org/schema/task
|
|
|
http://www.springframework.org/schema/task/spring-task.xsd">
|
|
|
|
|
|
<context:property-placeholder location="classpath:*.properties" />
|
|
|
<context:component-scan base-package="com.monitor" />
|
|
|
<!-- 打开aop 注解 -->
|
|
|
<aop:aspectj-autoproxy proxy-target-class="true"/>
|
|
|
<!-- 支持异步方法执行 -->
|
|
|
<task:annotation-driven />
|
|
|
|
|
|
<mvc:annotation-driven>
|
|
|
<mvc:annotation-driven>
|
|
|
<mvc:message-converters>
|
|
|
<ref bean="stringConverter" />
|
|
|
<ref bean="jsonConverter" />
|
...
|
...
|
|