On Mar 5, 2013, at 6:48 AM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:
> Hi
>
> Is it valid to have
>
> @PreMatch
> @A
> public class MyFilter implements ContainerRequestFiler {
> }
>
> where @A would bind MyFilter to some resource (method) in a post-match phase ?
> Or does @PreMatch means that MyFilter can only ever be executed in a pre-match phase ?
I don't think the spec states anything about this particular combination. In a way, it's a bit contradictory in the sense the @PreMatching implies globally bound and @A implies locally bound.
Do we want to say something about it or leave it as is?
-- Santiago