Tuesday, June 18, 2013

Spring component-scan: scanning services from multiple base packages

In your applicationContext.xml, you can specify base packages for scanning by:


<context:component-scan base-package="com.mycompany.package1, com.mycompany.package2"/>

2 comments:

  1. Amazing and effective proposal by the creator of this blog are truly useful to decrease our hack-tic life. My own particular perspectives are coordinating with creator and I have encountered such.

    สแกนเอกสาร

    ReplyDelete
  2. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.
    Minecraft Server List

    ReplyDelete