[
https://issues.apache.org/jira/browse/CXF-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor updated CXF-406:
----------------------------
Attachment: CXF-406.patch
The attached patch contains the following changes:
1) Modifies the AnnotationHandlerChainBuilder.buildHandlerChainFromClass() to
consider all the chains in the handlers file.
2) A test case for the above.
3) Addresses CXF-408 by factoring out the handler file resolution to a separate
method (so that in can be overwritten by subclasses).
> AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only one
> handler chain
> -------------------------------------------------------------------------------------------
>
> Key: CXF-406
> URL: https://issues.apache.org/jira/browse/CXF-406
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-M1
> Reporter: Jarek Gawor
> Fix For: 2.0-RC
>
> Attachments: CXF-406.patch
>
>
> The AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
> one handler chain. It is even mentioned in the following comment in the code:
> //We expect only one HandlerChainType here
> hc = (HandlerChainType)
> handlerChainsType.getHandlerChain().iterator().next();
> All handler chains need to be processed especially when @HandlerChain
> annotation is specified on a generated javax.xml.ws.Service class, etc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.