Annotation Type ContextResolved


  • @Qualifier
    @Retention(RUNTIME)
    public @interface ContextResolved
    ContextResolved is an internal qualifier used by CXF to differentiate the beans it will manage from beans a user may have provided. A user should not use this qualifier, but all beans that CXF provides that are from Context objects. Likewise, for any field level injections, as well as constructor injections, the CDI instance of the Context object will be used. Methods annotated Inject will also delegate to CDI. Any method parameter that takes a Context object will still be resolved from non-CDI semantics. For all built in context objects (as defined by the JAX-RS specification), the thread local aware instance is used. For any custom context objects (implemented via ContextProvider) you must ensure that they are implemented in a thread safe manner. All context objects are backed by a RequestScoped bean.