cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CXF-4033) Interceptor and Features annotations require context classloader
Date Mon, 16 Jan 2012 18:25:39 GMT


Daniel Kulp resolved CXF-4033.

    Resolution: Fixed
> Interceptor and Features annotations require context classloader
> ----------------------------------------------------------------
>                 Key: CXF-4033
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 2.4.6, 2.5.2
> The @InInterceptors and @Features annotations  currently define their types via a String[].
 This causes a few issues:
> 1) Spelling of the classnames is not checkable until runtime.  
> 2) No type checking until runtime.
> 3) The context classloader needs to be set correctly to load the classes which is not
always the case (think OSGI).
> It would be good to add:
> Class<? extends Interceptor>[] classes() default { };
> to the annotations to allow the developer to use the actual class objects which will
provide type checking (class is the correct type) as well as allow the regular class loading
mechanisms to work properly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message