The interceptor is intended to be enabled just because of the @Priority
annotation.  Nothing else should be required.  Please review 9.4 of the
spec http://docs.jboss.org/cdi/spec/2.0/cdi-spec.html#enabled_interceptors

John

On Fri, Jul 21, 2017 at 3:22 PM Romain Manni-Bucau <rmannibu...@gmail.com>
wrote:

> Misses @Dependent yes.
>
> Le 21 juil. 2017 19:35, "John D. Ament" <johndam...@apache.org> a écrit :
>
> I have an interceptor defined as:
>
> @Interceptor
> @LoggedIn
> @Priority(Interceptor.Priority.APPLICATION + 100)
> public class LoggedInInterceptor {
>
> and a beans.xml with
>
> <beans version="1.1" bean-discovery-mode="annotated"/>
>
> This interceptor isn't being discovered.  It is discovered when beans.xml
> is an empty file.  This same interceptor is discovered on OWB 1.7, but not
> in 2.0.1-SNAPSHOT.
>
> John
>

Reply via email to