On 23/07/14 17:02, iris ding wrote:
According to spec in chapter 9,  only below types are allowed to be injected
via @context:

Application
UriInfo
HttpHeaders
Request
SecurityContext
Providers
ResourceContext
Configuration

So we can add a check to make sure the parameterType is one of them. If it
is other type we can just ignore it.  any thoughts?

Have CXF already supported all above types now?
The above list is incomplete, ResourceInfo, ContextResolver are two contexts which are missing...
FYI, Jersey supports the injection of custom contexts too...

Cheers, Sergey


Iris Ding





--
View this message in context: 
http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746796.html
Sent from the cxf-dev mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to