| | |
| | | http://www.springframework.org/schema/mvc
|
| | | http://www.springframework.org/schema/mvc/spring-mvc.xsd">
|
| | |
|
| | | <context:component-scan base-package="com.moral.monitor.controller"/>
|
| | | <context:component-scan base-package="com.moral.monitor.service"/>
|
| | | <!--<context:component-scan base-package="com.moral.monitor.controller"/>-->
|
| | | <!--<context:component-scan base-package="com.moral.monitor.service"/>-->
|
| | |
|
| | | <context:component-scan base-package="com.moral.monitor.*"/>
|
| | | <bean id="PropertiesConfigurer"
|
| | | class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
| | | <property name="locations">
|
| | | <list>
|
| | | <value>classpath:log4j.properties</value>
|
| | | <value>classpath:redis-config.properties</value>
|
| | | <value>classpath:mongodb-config.properties</value>
|
| | | </list>
|
| | | </property>
|
| | | </bean>
|
| | |
|
| | | <mvc:annotation-driven>
|
| | | <mvc:message-converters register-defaults="true">
|
| | |
| | | </bean>-->
|
| | |
|
| | | <import resource="redis.xml"/>
|
| | | <import resource="mongodb.xml"/>
|
| | | <import resource="database.xml"/>
|
| | | <import resource="rabbitmq.xml"/>
|
| | | <import resource="quartz.xml"/>
|