When dealing with pooled components the best approach is to construct a component that publises a service that provides pooled service aquisition and release and use whatever you like as the pool implementation.



Eike Stepper wrote:

hi,

<snip>


/** * @avalon.component version="1.0" name="buffer-pool" lifestyle="singleton" */

You probably need a @avalon.service type="org.somewhere.Whatever" and then declare you pool


E.g.

public interface Whatever
{
    Object aquire();
    void release( Object object );
}

Steve.

--

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to