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
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
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.
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
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.
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
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
-injection-through-setter-method-method-name-restriction-tp5746712p5746802.html
Sent from the cxf-dev mailing list archive at Nabble.com.
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
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.
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.
--
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
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.
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
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
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
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
: 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
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.
19 matches
Mail list logo