Spring.xml configuration file contains other file formats

Source: Internet
Author: User
Tags aop xmlns

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.