Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:aop="http://www.springframework.org/schema/aop"
- xmlns:context="http://www.springframework.org/schema/context"
- xmlns:jee="http://www.springframework.org/schema/jee"
- xmlns:lang="http://www.springframework.org/schema/lang"
- xmlns:tx="http://www.springframework.org/schema/tx"
- xmlns:util="http://www.springframework.org/schema/util"
- xmlns:p="http://www.springframework.org/schema/p"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
- http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
- http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
- http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd
- http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
- http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
- http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"
- default-autowire="byName">
- <!-- import another XML configuration -->
- <import resource="datasourceContext.xml" />
- <!-- Activates annotation-based bean configuration -->
- <context:annotation-config />
- <!-- needed is for @Configurable -->
- <context:component-scan base-package="org.jleaf.common" />
- <context:component-scan base-package="org.jleaf.workflow.core.jpa" />
- <!-- TODO#1 Tambahkan scan untuk BO ERP yang menjadi dependency -->
- <!-- sample
- <context:component-scan base-package="org.jleaf.erp.inv" />
- <context:component-scan base-package="org.jleaf.erp.sls" />
- -->
- <context:component-scan base-package="org.jleaf.erp.master" />
- <!-- <context:component-scan base-package="org.jleaf.erp.cb" /> -->
- <!-- active transaction manager -->
- <tx:annotation-driven transaction-manager="transactionManager" />
- </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement