You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jervis Liu (JIRA)" <ji...@apache.org> on 2007/02/14 07:48:05 UTC
[jira] Resolved: (CXF-408) Resolving the handler file in
AnnotationHandlerChainBuilder
[ https://issues.apache.org/jira/browse/CXF-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jervis Liu resolved CXF-408.
----------------------------
Resolution: Fixed
> Resolving the handler file in AnnotationHandlerChainBuilder
> -----------------------------------------------------------
>
> Key: CXF-408
> URL: https://issues.apache.org/jira/browse/CXF-408
> Project: CXF
> Issue Type: Improvement
> Components: JAX-WS Runtime
> Affects Versions: 2.0-RC
> Reporter: Jarek Gawor
> Assigned To: Jervis Liu
>
> In AnnotationHandlerChainBuilder.buildHandlerChainFromClass() the filename of the annotation is resolved by doing:
> URL handlerFileURL = clz.getResource(hcAnn.getFileName());
> However, sometimes it might be necessary to resolve the file in a different way. It would be great if the AnnotationHandlerChainBuilder could be modified so that this behavior could be overwritten. For example, factor this call into a protected method:
> URL handlerFileURL = resolveHandlerChainFile(clz, hcAnn.getFileName());
> ....
> protected URL resolveHandlerChainFile(Class clz, String filename) {
> return clz.getResource(filename);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.