cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-408) Resolving the handler file in AnnotationHandlerChainBuilder
Date Tue, 06 Feb 2007 16:47:05 GMT
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


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