> > > > Just a short one: must a SingleThreaded component be released via
> > > >
> > > > manager.release(component)
> > > >
> > > > I'd assume - no...
> > >
> > > I'd assume - yes. Otherwise it's dispose() method won't be called.
> >
> > Well, ok, but if the components only uses threadsafe or singlethreaded
> > components it should not need "dispose", correct?
>
> There is nothing saying that a singlethreaded component may not
> implement Disposable, so it is impossible to make a general statement
> saying that singlethreaded components do not need dispose().

Sorry, I didn't make this clear - I didn't ment this in general... but
maybe one could say:

| A singlethreaded component that does not need to dispose anything does
| not need to be released.

I just want to make sure I do not harm the CM if don't release them...
--
Torsten


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

Reply via email to