[
https://issues.apache.org/jira/browse/CXF-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jervis Liu reassigned CXF-408:
------------------------------
Assignee: Jervis Liu
> 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.