Setting Bean Search Scope by Batch Job Unit

By default, batch execution scans all resources to create beans. Therefore, if the application where the batch is written is large or there are many referenced applications, a significant amount of time is required for initialization to extract beans. If the developer is aware of all the packages of the beans used during batch execution, the initialization time of the batch job can be reduced by configuring the bean search scope. Since all subpackages of the entered package become search targets, the more detailed the package is, the faster initialization is performed.

<job-component xmlns="http://www.bankwareglobal.com/schema/batchex" id="jobcomp" with-dependon="true">
    <base-package name="bxm.dps.mdp.bean">
        <include name="MMdpCustMng*"/>
    </base-package>
</job-component>
SWLab Bankware Global
  • 전체
  • BXM
  • BXCM
  • BXCP
  • BXI
제품 선택 시 더 정확한 매뉴얼 가이드를 제공해드립니다.

Copyright© Bankwareglobal All Rights Reserved.