You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by toto <en...@free.fr> on 2003/10/30 16:49:19 UTC

Poolable components

Hi,

    I'd like to implement a generic component (a generator for instance) 
G that wraps a particular object A. Is there any way to pool G instances 
according to A's type, just as if I could directly pool A objects (which 
are not sitemap components) ?

In the sitemap I would give G an attribute specifying A's class name. 
And I wish the component
manager would either instantiate a new G object or find in the pool a G 
instance with the correct
A type...

If that was clear,... any idea ?

thanls




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org