Skip to content

Instantly share code, notes, and snippets.

@astralbodies
Created February 17, 2012 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astralbodies/1855156 to your computer and use it in GitHub Desktop.
Save astralbodies/1855156 to your computer and use it in GitHub Desktop.
Spring 3.1 property configurer changes
<?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.1.xsd">
<context:annotation-config/>
<context:component-scan base-package="com.company.app" />
<context:property-placeholder system-properties-mode="FALLBACK"
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