Skip to content

Commit

Permalink
#147: Add some bean definitions at test-context.xml
Browse files Browse the repository at this point in the history
* bean definition of <property-placeholder>
* bean definition of ExceptionLogger

(cherry picked from commit 0ea89bd)
  • Loading branch information
kazuki43zoo committed Aug 6, 2015
1 parent c1772c8 commit 052edfc
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions projectName-domain/src/test/resources/test-context.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
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.xsd
">

<context:property-placeholder
location="classpath*:/META-INF/spring/*.properties" />

<bean id="exceptionLogger" class="org.terasoluna.gfw.common.exception.ExceptionLogger" />

<import resource="classpath:META-INF/spring/projectName-domain.xml" />

<bean class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dataSource" />
</bean>

</beans>

0 comments on commit 052edfc

Please sign in to comment.