cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-408) Resolving the handler file in AnnotationHandlerChainBuilder
Date Wed, 14 Feb 2007 06:50:05 GMT

     [ https://issues.apache.org/jira/browse/CXF-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jervis Liu closed CXF-408.
--------------------------


> 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.


Mime
View raw message