You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2007/02/03 07:21:06 UTC
[jira] Created: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
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
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.
[jira] Assigned: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-406:
-------------------------------
Assignee: Daniel Kulp (was: Jervis Liu)
> 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
> Assigned To: Daniel Kulp
> 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.
[jira] Assigned: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu reassigned CXF-406:
------------------------------
Assignee: Jervis Liu
> 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
> Assigned To: Jervis Liu
> 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.
[jira] Updated: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin updated CXF-406:
----------------------------
Component/s: JAX-WS Runtime
Affects Version/s: (was: 2.0-M1)
2.0-RC
> AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only one handler chain
> -------------------------------------------------------------------------------------------
>
> Key: CXF-406
> URL: https://issues.apache.org/jira/browse/CXF-406
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-RC
> Reporter: Jarek Gawor
> Assigned To: Daniel Kulp
> 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.
[jira] Updated: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
Posted by "Dan Diephouse (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Diephouse updated CXF-406:
------------------------------
Fix Version/s: 2.0-RC
> 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
>
>
> 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.
[jira] Resolved: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved CXF-406.
-----------------------------
Resolution: Fixed
Resolving this issue as the patch was applied. Thanks.
> AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only one handler chain
> -------------------------------------------------------------------------------------------
>
> Key: CXF-406
> URL: https://issues.apache.org/jira/browse/CXF-406
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0-RC
> Reporter: Jarek Gawor
> Assigned To: Daniel Kulp
> 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.
[jira] Updated: (CXF-406)
AnnotationHandlerChainBuilder.buildHandlerChainFromClass() considers only
one handler chain
Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
[ 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.