cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iacturus">
Subject Re: components not as factory or pooled
Date Fri, 18 Nov 2005 15:56:53 GMT
> That's the mechanism currently used to flag whether a component is to be 
> treated as a singleton.  Why wouldn't it be possible?

The problem is, that i need to have exclusive access on object (component) 
Using the Threadsafe interface will cause the need of java synchronization:

synchronized (myComponent) {

This is in any case a bottleneck, but i intended to delegate this to the 
component manager.
My component is not thread safe and it is not possible to make it thread 

Thx, Robert 

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

View raw message