Advertisement
aadddrr

applicationContext.xml

Aug 27th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.94 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" xmlns:aop="http://www.springframework.org/schema/aop"
  4.     xmlns:context="http://www.springframework.org/schema/context"
  5.     xmlns:jee="http://www.springframework.org/schema/jee" xmlns:lang="http://www.springframework.org/schema/lang"
  6.     xmlns:tx="http://www.springframework.org/schema/tx" xmlns:util="http://www.springframework.org/schema/util"
  7.     xmlns:p="http://www.springframework.org/schema/p"
  8.     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  9.         http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
  10.         http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
  11.         http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
  12.         http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd
  13.         http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
  14.         http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
  15.         http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"
  16.     default-autowire="byName">
  17.  
  18.     <bean id="boLazyLoader" class="org.jleaf.core.loader.BusinessObjectLazyLoader" />
  19.     <bean id="mainAppContext" class="org.jleaf.core.MainApplicationContext" />
  20.  
  21.     <context:property-placeholder
  22.         location="classpath*:server-config.properties,classpath:org/jleaf/erp/gl/services/workflow-config.properties" />
  23.  
  24.     <!-- Activates annotation-based bean configuration -->
  25.     <context:annotation-config />
  26.  
  27.     <!-- active transaction manager -->
  28.     <tx:annotation-driven transaction-manager="transactionManager" />
  29.  
  30.     <!-- import another XML configuration -->
  31.     <import resource="datasourceContext.xml" />
  32.    
  33.     <!-- Adding workflow-context.xml -->
  34.     <import resource="workflow-context.xml" />
  35.  
  36.     <!-- Import Service EndPoint for Task and Report -->
  37.     <!-- <import resource="taskServiceContext.xml"/>  -->
  38.  
  39.     <!-- Import Service EndPoint for Task and Report -->
  40.     <import resource="additionalContext.xml"/>
  41.        
  42.     <!-- Needed in service-flow -->
  43.     <bean name="serviceFlowExecutor" class="org.jleaf.serviceflow.impl.DefaultServiceFlowExecutor" />
  44.    
  45.     <bean name="serviceFlowManager" class="org.jleaf.serviceflow.impl.AutoServiceFlowManager">
  46.         <property name="approvalSchemePath" value="classpath:org/jleaf/erp/workflow-general-ledger.xml" />
  47.         <property name="baseDirPattern" value="classpath:org/jleaf/erp/gl/services" />
  48.     </bean>
  49.  
  50.     <bean name="serviceFlowResolver" class="org.jleaf.serviceflow.impl.AutoServiceFlowResolver">
  51.         <property name="baseDirPattern" value="classpath:org/jleaf/erp/gl/services" />
  52.     </bean>
  53.    
  54. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement