Two calls within the same thread will return the same instance. Basically, the pooled model is a threaded model, but the instances returned are obtained from a pool rather than created from scratch every time they're bound to the thread.
On 6/28/07, Stephane Decleire <sdecleire@...> wrote:
Hi,
I don't understand why 2 calls to a BuilderFactory which model is set to
pooled return the same object.
Isn't it the behavior of singletons ?
Thanks in advance for any explanation.
Stephane