Advertisement
aadddrr

test-jleaf-report-context.xml

Nov 8th, 2018
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.79 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3.       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.       xmlns:p="http://www.springframework.org/schema/p"
  5.       xmlns:context="http://www.springframework.org/schema/context"
  6.       xmlns:jms="http://www.springframework.org/schema/jms"
  7.       xmlns:amq="http://activemq.apache.org/schema/core"
  8.       xsi:schemaLocation="http://www.springframework.org/schema/beans
  9.                           http://www.springframework.org/schema/beans/spring-beans.xsd
  10.                           http://www.springframework.org/schema/context
  11.                           http://www.springframework.org/schema/context/spring-context.xsd
  12.                           http://www.springframework.org/schema/jms
  13.                           http://www.springframework.org/schema/jms/spring-jms.xsd
  14.                           http://activemq.apache.org/schema/core
  15.                           http://activemq.apache.org/schema/core/activemq-core.xsd">
  16.    
  17.     <context:component-scan base-package="org.jleaf.config" />
  18.    
  19.     <context:property-placeholder
  20.         location="classpath:application.properties" />
  21.  
  22.     <context:annotation-config />    
  23.     <context:component-scan base-package="org.jleaf.report" />
  24.        
  25.     <import resource="classpath:datasource-context.xml" />
  26.     <import resource="classpath:test-jms-report-context.xml" />
  27.    
  28. <!--    <bean id="reportConfigLoader" class="org.jleaf.report.component.FolderReportConfigLoader"> -->
  29. <!--        <property name="baseFolder" value="src/test/resources/report-config/" /> -->
  30. <!--    </bean> -->
  31.    
  32.     <bean id="reportConfigLoader" class="org.jleaf.report.component.AutoReportConfigLoader">
  33.         <property name="baseTemplate" value="classpath*:report-config/" />
  34.     </bean>    
  35. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement