[ 
https://issues.apache.org/jira/browse/CXF-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeff Yu updated CXF-803:
------------------------

    Attachment: cxf-803.patch

With this patch, I've added four annotations, they are: InInterceptors, 
OutInterceptors, InFaultInterceptors, OutFaultInterceptors.

You can add these annotation either on the SEI or service implementation, but 
when both of they are all specified, we are searching the service 
implementation first, if we can't find it on the service implementor, and then 
we find it on the SEI, which is specified by the "WebService"' annotation's 
"endpointInterface" attribute value. (This is as same as HandlerChain 
annotation logic, find the service implementation first, if it is null, and 
then search the SEI accordingly).

> Configuring interceptors using annotations
> ------------------------------------------
>
>                 Key: CXF-803
>                 URL: https://issues.apache.org/jira/browse/CXF-803
>             Project: CXF
>          Issue Type: New Feature
>          Components: Configuration
>    Affects Versions: 2.0
>         Environment: All
>            Reporter: Zarar Siddiqi
>         Attachments: cxf-803.patch
>
>
> It would be helpful to configure interceptors using annotations.  CXF would 
> benefit by having annotations similar to XFire's 
> org.codehaus.xfire.annotations.InHandlers and 
> org.codehaus.xfire.annotations.OutHandlers as it would allow specifying 
> specific interceptors for service implementations.
> This issue came up on the mailing list: 
> http://www.nabble.com/Configuring-interceptors-using-annotations-tf4097300.html
> Thanks,
> Zarar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to