Hi, Glen
What do you mean by changing constant from
COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to xxxx_INTERCEPTOR, because in
the initializeAnnotationObjects() method, it might be "InInterceptor,
OutInterceptor,InFaultInterceptor, AbstractFeature" etc, and I don't
think we need to specify it so detail within a quite generic method.
BTW, I changed the COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to
COULD_NOT_CREATE_ANNOTATION_OBJECT in last patch, since it might be
FEATURES not INTERCEPTOR.
Thanks
Jeff Yu
Glen Mazza (JIRA) wrote:
[ https://issues.apache.org/jira/browse/CXF-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515646 ]
Glen Mazza edited comment on CXF-803 at 7/26/07 5:53 AM:
---------------------------------------------------------
Looks good! But will the committer of this patch please fix the constant in
initializeAnnotationObjects() from COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to
xxxx_INTERCEPTOR.
Glen
was:
Looks good! But please fix the constant in initializeAnnotationObjects() from
COULD_NOT_CREATE_ANNOTATION_INTERCEPOTR to xxxx_INTERCEPTOR.
Glen
Configuring interceptors using annotations
------------------------------------------
Key: CXF-803
URL: https://issues.apache.org/jira/browse/CXF-803
Project: CXF
Issue Type: New Feature
Components: Configuration
Affects Versions: 2.0
Environment: All
Reporter: Zarar Siddiqi
Attachments: cxf-803-2.patch, cxf-803.patch
It would be helpful to configure interceptors using annotations. CXF would
benefit by having annotations similar to XFire's
org.codehaus.xfire.annotations.InHandlers and
org.codehaus.xfire.annotations.OutHandlers as it would allow specifying
specific interceptors for service implementations.
This issue came up on the mailing list:
http://www.nabble.com/Configuring-interceptors-using-annotations-tf4097300.html
Thanks,
Zarar