Should be sufficient to get hold of the Spring bean factory and ask for the bean twice? Each instance should be different if it is a prototype.
Mike On 10/17/07, John Kwon <[EMAIL PROTECTED]> wrote: > > In the previous incarnation of Spring (1.0.3?) I had serious problems > using Documentum because Managers that called the Documentum API to get a > session were always singletons, no matter what I specified. > > In the current app, I have specified "prototype". Rather than have > multiple people log on and try to test by hand the race conditions that I've > seen in the past, I'm wondering what I can do to automate the testing of > this to make sure I'm not getting the same instance of a Manager. > > It goes without saying that Documentum is a pain in the.... >
