Sean,

A Finder is a subclass of Restlet, so you can perfectly attach it manually
to the Router. The attach(myUri, MyResource.class) method is only here for
convenience when you don't need a custom Finder or when specifying the
"finderClass" property is sufficient.

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Sean Landis
> Envoyé : vendredi 26 janvier 2007 19:36
> À : [email protected]
> Objet : Re: Newbie question on the Resource changes in RC3
> 
> Why does Router insist on instantiating a Finder anyway? 
> Finders aren't
> instantiated on a per call basis. Why not just allow to set 
> the Finder 
> instance in the router?
> 
> Sean

Reply via email to