Re: @context injection through setter method - method name restriction

2014-07-30 Thread iris ding
Sergey, Thanks. I am willing to contribute I will start to work in the ClassCastException soon. Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5747118.html Sent from the cxf-dev mailing

Re: @context injection through setter method - method name restriction

2014-07-25 Thread Sergey Beryozkin
start converting the in InputStream to ByteArrayInputStream, etc... Cheers, Sergey On 25/07/14 12:43, iris ding wrote: Thanks a lot Sergey. Will fix #1 in cxf-5897. Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method

Re: @context injection through setter method - method name restriction

2014-07-25 Thread iris ding
Thanks a lot Sergey. Will fix #1 in cxf-5897. Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746890.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: @context injection through setter method - method name restriction

2014-07-24 Thread Sergey Beryozkin
makes sense to optimize, no point in the application code having injected no-op proxies Sergey any thoughts? Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746841.html Sent from the cxf-d

Re: @context injection through setter method - method name restriction

2014-07-24 Thread iris ding
message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746841.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: @context injection through setter method - method name restriction

2014-07-24 Thread Sergey Beryozkin
ding wrote: Sergey, I mean if we want to support parameter type(custom context) in setter method other than those specified in spec, we can not add check about parameter type. Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method

Re: @context injection through setter method - method name restriction

2014-07-23 Thread iris ding
Sergey, I mean if we want to support parameter type(custom context) in setter method other than those specified in spec, we can not add check about parameter type. Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name

Re: @context injection through setter method - method name restriction

2014-07-23 Thread Sergey Beryozkin
-injection-through-setter-method-method-name-restriction-tp5746712p5746802.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: @context injection through setter method - method name restriction

2014-07-23 Thread iris ding
OK, Then Sergey if we want to allow custom context we need support it via another way.. -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746802.html Sent from the cxf-dev mailing list archive at

Re: @context injection through setter method - method name restriction

2014-07-23 Thread Sergey Beryozkin
will be working on avoiding keeping such proxies if no ContextProvider is available Sergey -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746783.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: @context injection through setter method - method name restriction

2014-07-23 Thread Sergey Beryozkin
ch proxies if no ContextProvider is available Sergey -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746783.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: @context injection through setter method - method name restriction

2014-07-23 Thread Sergey Beryozkin
-- 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

Re: @context injection through setter method - method name restriction

2014-07-23 Thread iris ding
it. any thoughts? Have CXF already supported all above types now? 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.

Re: @context injection through setter method - method name restriction

2014-07-23 Thread Sergey Beryozkin
that happen?"\n"); } you will get a proxy injected but also NPE at runtime unless a ContextProvider supporting MyInterface. We will be working on avoiding keeping such proxies if no ContextProvider is available Sergey -- View this message in context: http://cxf.547215.n5.nabble.c

Re: @context injection through setter method - method name restriction

2014-07-23 Thread Grant Yang
This code makes me wonder what will happen if we just have @Context public void setString(String string) { System.out.println("shall that happen?"\n"); } -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-n

Re: @context injection through setter method - method name restriction

2014-07-23 Thread iris ding
Thanks Andrei and Sergey. An issue is opened to track this: https://issues.apache.org/jira/browse/CXF-5897 -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712p5746781.html Sent from the cxf-dev mailing

Re: @context injection through setter method - method name restriction

2014-07-22 Thread Sergey Beryozkin
this? Regards, Andrei. -Original Message- From: iris ding [mailto:irisdin...@gmail.com] Sent: Dienstag, 22. Juli 2014 08:26 To: dev@cxf.apache.org Subject: @context injection through setter method - method name restriction I found out CXF has method name restriction for @context injection

RE: @context injection through setter method - method name restriction

2014-07-22 Thread Andrei Shakirin
: iris ding [mailto:irisdin...@gmail.com] > Sent: Dienstag, 22. Juli 2014 08:26 > To: dev@cxf.apache.org > Subject: @context injection through setter method - method name restriction > > I found out CXF has method name restriction for @context injection through > sette

@context injection through setter method - method name restriction

2014-07-21 Thread iris ding
Info HttpHeaders Request SecurityContext What do you think about this problem? Iris Ding -- View this message in context: http://cxf.547215.n5.nabble.com/context-injection-through-setter-method-method-name-restriction-tp5746712.html Sent from the cxf-dev mailing list archive at Nabble.com.