Both the Application class and SpringRouter classes are instances of Restlet
so I don't believe you need an Application instance.

Wherever you have injected your SpringRouter, simply inject your Guard class
with the SpringRouter as the "next" property.

Kevin

On Mon, Oct 20, 2008 at 8:19 AM, Gabriel Falkenberg <
[EMAIL PROTECTED]> wrote:

> Hi
>
> I wonder if there is a special way to add guards/filters to a Restlet
> application when using the Spring extension. My application does not
> seem to have a separate Application class, only a SpringRouter. Is an
> Application class required for this?
>
> Best Regards
> Gabriel Falkenberg
>

Reply via email to