https://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#bean_defining_annotations

Lg,
Strub

> Am 23.07.2017 um 09:20 schrieb Romain Manni-Bucau <rmannibu...@gmail.com>:
> 
> Can one of you list the part of the spec stating it for this thread to be
> self contained please?
> 
> Who takes the fix? Can have a look end of next week I guess if it helps.
> 
> Le 22 juil. 2017 23:37, "Mark Struberg" <strub...@yahoo.de.invalid> a
> écrit :
> 
>> 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 <rmannibu...@gmail.com
>>> :
>>> 
>>> Conflicts with annotated part i think. Priority doesnt enable a bean by
>>> itself.
>>> 
>>> Le 21 juil. 2017 21:31, "John D. Ament" <johndam...@apache.org> 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 <
>> 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