The "developing with Avalon" guide suggest (strategy 1) to release
components that we use in the release() method. It doesn't say for which
kind of components, but I guess it only makes sense for poolable ones, right
? Or is there a reference count in the excalibur component manager code ?

For example, I am using the DataSourceComponent component, which is
ThreadSafe (one instance in the jvm). Why should I release it by writing :

    public void dispose()
    {
        this.manager.release(this.datasource);
    }

Thanks
-Vincent


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

Reply via email to