Advertisement
elwin_jusuf

appContext.xml

Oct 26th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 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:aop="http://www.springframework.org/schema/aop"
  5. xmlns:context="http://www.springframework.org/schema/context"
  6. xmlns:jee="http://www.springframework.org/schema/jee"
  7. xmlns:lang="http://www.springframework.org/schema/lang"
  8. xmlns:tx="http://www.springframework.org/schema/tx"
  9. xmlns:util="http://www.springframework.org/schema/util"
  10. xmlns:p="http://www.springframework.org/schema/p"
  11. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  12. http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
  13. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
  14. http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
  15. http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-3.0.xsd
  16. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
  17. http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd
  18. http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd"
  19. default-autowire="byName">
  20.  
  21. <!-- import another XML configuration -->
  22. <import resource="datasourceContext.xml" />
  23.  
  24. <!-- Activates annotation-based bean configuration -->
  25. <context:annotation-config />
  26.  
  27.  
  28. <!-- needed is for @Configurable -->
  29. <context:component-scan base-package="org.jleaf.common" />
  30. <context:component-scan base-package="org.jleaf.workflow.core.jpa" />
  31.  
  32. <!-- TODO#1 Tambahkan scan untuk BO ERP yang menjadi dependency -->
  33. <!-- sample
  34. <context:component-scan base-package="org.jleaf.erp.inv" />
  35. <context:component-scan base-package="org.jleaf.erp.sls" />
  36.  
  37. -->
  38. <context:component-scan base-package="org.jleaf.erp.master" />
  39. <!-- <context:component-scan base-package="org.jleaf.erp.cb" /> -->
  40.  
  41. <!-- active transaction manager -->
  42. <tx:annotation-driven transaction-manager="transactionManager" />
  43.  
  44.  
  45. </beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement