[
https://issues.apache.org/jira/browse/CXF-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514937
]
Jeff Yu commented on CXF-803:
-----------------------------
As I looked at Xfire InHandlers and OutHandlers, they are very simple, it just
looks up the annotation on the ServiceBean class. (possiblily I might be wrong
here) Here I have some questions:
1. Do we just need to implement it as simple as what Xfire does? say, we just
need to look up the annotation in the ServiceBean class.
2. If we also support this annotation in the SEI, what if both SEI and
implementor specify this annotation, say which one has high priority? what is
the correct search order? In fact, I think in most of cases, people would like
to have this in the implementor instead of SEI.
3. I think for the CXF, we should also support InFaultInterceptor,
OutFaultInterceptor annotation.
Zarar, from the maillist, you said you were writing something similiar stuff,
have you started working on this JIRA, if not, I think I can pick it up..
> 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
>
> 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.