John is right. interceptor and Decorator are bean defining annotations.

John, can you plz file a ticket! 

Txs and LieGrue,
Strub

> Am 21.07.2017 um 21:37 schrieb Romain Manni-Bucau <[email protected]>:
> 
> Conflicts with annotated part i think. Priority doesnt enable a bean by
> itself.
> 
> Le 21 juil. 2017 21:31, "John D. Ament" <[email protected]> a écrit :
> 
>> 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 <[email protected]>
>> wrote:
>> 
>>> Misses @Dependent yes.
>>> 
>>> Le 21 juil. 2017 19:35, "John D. Ament" <[email protected]> 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