Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Spring 3.0 property configurer
<?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:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:annotation-config/>
<context:component-scan base-package="com.company.app" />
<context:property-placeholder location="classpath:META-INF/dev.runtime.properties" />
<import resource="classpath:/com/company/app/applicationContext-dao.xml" />
<import resource="classpath:/com/company/app/applicationContext-jndi.xml" />
<import resource="classpath:/com/company/app/applicationContext-mail.xml" />
<import resource="classpath:/com/company/app/dev.applicationContext-mi.xml" />
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment