[ 
https://issues.apache.org/jira/browse/CXF-5439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843821#comment-13843821
 ] 

Andriy Redko commented on CXF-5439:
-----------------------------------

Hi Sergey,

My personal opinion on your design: it looks good if you start with a "blank 
page". But Dan has a point: your already have a bunch of  annotations defined 
for similar purposes. From my prospective, it would be more concise to not 
touch existing ones but to add counterparts (as you suggested initially, I 
don't see a problem with verbosity). Moreover, yet another @Provider annotation 
will bring more confusion to already available ones (f.e. in JAX-RS API).

Also scope is something I am not sure about. I understand your intention but I 
don't see any particular reason to use it and straightway implementation to 
enforce it (and it will be still possible to add interceptors manually ignoring 
scope completely). My apologies if I missed something important you had in mind.

Thanks.
Andriy.

> Introduce annotations for marking CXF interceptors and features to enable the 
> auto-discovery
> --------------------------------------------------------------------------------------------
>
>                 Key: CXF-5439
>                 URL: https://issues.apache.org/jira/browse/CXF-5439
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.0.0-milestone2
>
>




--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to