Spring.xml configuration file contains other file formats
<?xml version= "1.0" encoding= "UTF-8"?>
<beans xmlns= "Http://www.springframework.org/schema/beans" xmlns:xsi= "http://www.w3.org/2001/ Xmlschema-instance "xmlns:aop=" HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP "xmlns:c="/HTTP/ Www.springframework.org/schema/c "xmlns:cache=" Http://www.springframework.org/schema/cache "xmlns:context=" http ://www.springframework.org/schema/context "xmlns:jdbc=" Http://www.springframework.org/schema/jdbc "xmlns:jee=" Http://www.springframework.org/schema/jee "xmlns:lang=" Http://www.springframework.org/schema/lang "xmlns:mvc=" Http://www.springframework.org/schema/mvc "xmlns:p=" http://www.springframework.org/schema/p "xmlns:task="/HTTP/ Www.springframework.org/schema/task "xmlns:tx=" Http://www.springframework.org/schema/tx "xmlns:util="/HTTP/ Www.springframework.org/schema/util "
xsi:schemalocation= "Http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/ Spring-beans.xsd
HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP http://www.springframework.org/schema/aop/spring-aop.xsd
Http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd
Http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
Http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd
Http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee.xsd
Http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang.xsd
Http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
Http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd
Http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
Http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd ">
<!--introduce project profiles--
<!--<context:property-placeholder location= "Classpath:config.properties"/>--
<bean class= "Org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
</bean>
Represents a package file that can be imported
<import resource= "Classpath*:spring-redis.xml"/>
<import resource= "Classpath*:spring-hibernate.xml"/>
<import resource= "Classpath*:spring-druid.xml"/>
<import resource= "Classpath*:spring-tasks.xml"/>
<import resource= "Classpath*:spring-ehcache.xml"/>
<import resource= "Classpath*:spring-javamelody.xml"/>
<import resource= "Classpath*:net/bull/javamelody/monitoring-spring.xml"/>
This indicates that the format information is automatically injected
<!--automatically scan DAO and service packs (auto-injection)--
<context:component-scan base-package= "Cn.inovance.iotas"/>
<!--get Springapplicationcontext objects by Applicationcontextaware--
<bean id= "Springapplicationcontext" class= "Cn.inovance.iotas.web.common.util.ApplicationContextRegister" > </bean>
</beans>