agree with mdenium, WebApplicationContextUtils.getWebApplicationContex t() is one of the ways to go
agree with mdenium, WebApplicationContextUtils.getWebApplicationContex t() is one of the ways to go
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
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![]()