Hi Jim,
No that all you need to do. Especially, no need to override createRoot()
anymore in this case. Here is the code using this property:
public synchronized Restlet getRoot() {
if (this.root == null) {
this.root = createRoot();
}
return this.root;
}
Best regards,
Jerome
> -----Message d'origine-----
> De : Jim Alateras [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 12 mars 2008 02:09
> À : [email protected]
> Objet : calling setRoot
>
> Once i do Application.setRoot(...) do i need to do anything
> else for it
> to take effect.
>
> cheers
> </jima>