Results 1 to 2 of 2

Thread: How does one instantiate Spring in the context of a library?

  1. #1
    Join Date
    Feb 2010
    Posts
    1

    Default How does one instantiate Spring in the context of a library?

    All:

    What is the technique for providing Spring DI for a set of classes in a plain old, non-executable java library/JAR?

    Fundamentally - given that there is no single startup point - no main method - how do I go about creating and configuring an application context that can be injected and used by all the classes in the Jar?

    Thanks in advance,

    -steve

  2. #2
    Join Date
    May 2009
    Location
    Southfield, MI
    Posts
    16

    Default RE: How does one instantiate Spring in the context of a library?

    Check out this post to see if it helps.

Posting Permissions

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