> > 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