Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Object Pooling Problem - minSize?

  1. #11
    Join Date
    Dec 2005
    Posts
    269

    Default

    agree with mdenium, WebApplicationContextUtils.getWebApplicationContex t() is one of the ways to go

  2. #12
    Join Date
    May 2006
    Posts
    15

    Default Everything working

    Thanks to to Injecteer and mdenium for their help. Everything is working.

    Just out of curiosity - once a thread is done is there a way to return the object to the pool? Some explicit call?

    David

  3. #13
    Join Date
    Dec 2005
    Posts
    269

    Default

    are you sure you wanna know?

    well, the CommonsPoolTargetSource has a method releaseTarget(). In order to call it, you must cast your proxy to TargetSource.
    This is what Spring was created against

Posting Permissions

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