cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: components not as factory or pooled
Date Mon, 21 Nov 2005 20:28:22 GMT
On 21.11.2005 13:17, Iacturus wrote:

> As the NonThreadSafeComponent uses some API which cannot be made
> threadsafe, there can only be one method of NonThreadSafeComponent
> executed at one time. I cannot change this API and it really has to be
> used exclusively.

Why don't you make your NonThreadSafeComponent thread safe? In the 
easiest case just add "synchronized" to each method. To assure that it 
is a singleton you have to implement ThreadSafe then.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message