cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject org.apache.cxf.jaxrs.utils.InjectionUtils#injectContextMethods, lazy mode?
Date Sun, 22 Mar 2015 21:13:23 GMT
Hi guys,

wonder if it would make sense to have a lazy mode
on org.apache.cxf.jaxrs.utils.InjectionUtils#injectContextMethods.

In my case I use a stupid service:

@Path("simple")
public class SimpleJaxRs {
    @GET
    public String get() {
        return "it works";
    }
}

And I loose a lot of time calling JAXBElementProvider.setMessageContext

Of course I can exclude it but wonder about the default.

wdyt?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message