Results 1 to 2 of 2

Thread: Question on Bundlor scanning of spring xml context files

  1. #1
    Join Date
    Dec 2005
    Location
    Philadelphia, PA, USA
    Posts
    228

    Default Question on Bundlor scanning of spring xml context files

    Hi,

    I would like to understand if scanning of spring context xml files would transitively resolve imports for classes used in context xml. From my testing right now it does not.

    Examples:

    Code:
    <bean id="x" class="com.my.package.Foo" />
    This BeanClass uses com.my.Bar as a return type in the API call (for example). Will bundlor include "com.my" package in Import-Package or just "com.my.package"?

    Also, when using a component-scan, will bundlor examine the package to see if all of the transitively required packages are included? Similar example as above except with component-scan. As an example: I have a com.my.package.service.internal.MyServiceImpl that implements com.my.package.service.MyService. Will bundlor include com.my.package.service package?
    Thanks
    Dmitry

  2. #2
    Join Date
    Dec 2005
    Location
    Philadelphia, PA, USA
    Posts
    228

    Default

    Did not RTFM fully. Ignore the question.
    Thanks
    Dmitry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •