> From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> 
> On Mon, 18 Mar 2002, Leo Sutic wrote:
> >
> > > From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
> > >
> > > 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().

/LS

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

Reply via email to