users@jax-rs-spec.java.net

[jax-rs-spec users] Re: _at_Logged deep binding

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Tue, 5 Feb 2013 17:49:00 +0100

IMO it should.

Marek

On Feb 5, 2013, at 3:59 AM, Alex Rojkov <alex_at_caucho.com> wrote:

> Hi All,
>
> Given the mapping below, should LoggingFilter get invoked?
>
> @Provider
> @Logged
> class LoggingFilter implements ContainerRequestFilter,
> ContainerResponseFilter {
>
> }
>
> @Path("/")
> public class MyResourceClass {
> @Path("{name}")
> public Foo hello(@PathParam("name") String name) {
> return new FooBean(name);
> }
> }
>
> public interface Foo {
> }
>
> public class FooBean implements Foo {
> @Logged
> @GET
> public String hello() {
> return "FooBean[" + name + "]";
> }
> }
>
> Thanks,
> Alex
>