YES! Just what I think.

Besides forcing extra work on using 3rd party components, as noted in my
other post.


Have fun,
Paulo Gaspar

> -----Original Message-----
> From: Michael McKibben [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 05, 2002 3:13 AM
> To: Avalon Developers List
> Subject: Re: [RT] Is Poolable Harmful?
>
>
> > > interface Resettable extends SingleThreaded
> > > {
> > >      void reset();
> > > }
> >
>
> How is this different from Recyclable.recycle()?
>
> On a different subject, why does ComponentManager/ComponentSelector (et
> al) require Component and not just return/use Object? The reason why I ask
> is that a lot of interfaces do not extend from Component (for example the
> excalibur DataSource interface) and it looks awkward to see:
>
> DataSource ds = (DataSource)cm.lookup(DataSource.ROLE);
> ...
> cm.release((Component)ds);
>
> Having to cast my interface to Component is a useless step and makes my
> code look ugly :)
>
> Regards,
>
> --mike


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

Reply via email to