>
>
> You'd need to use JAX-RS 2.0 @BeanParam:
>
> @PUT
> public SuccessResult updateNotification(@BeanParam
>   UpdateNotificationsResource notifications)
>

Thank you, I didn't know about BeanParam:)
Unfortunately I can't check it right now, because I have some strange
problems with creating new instance of my class in
org.apache.cxf.jaxrs.utils.JAXRSUtils#createBeanParamValue. Probably used
wrong ClassLoader (I have OSGi application).
I can't realize for what case we need load class that already exist:
ClassLoaderUtils.loadClass(clazz.getName(), JAXRSUtils.class).newInstance();
In fact I can just do clazz.newInstance(); and get correct instance.


>
> and have individual UpdateNotificationsResource setters annotated with
> QueryParam
>
> Sergey
>
>
-- 
Sergey Shisholik

Skype: sergey.shisholik
http://www.linkedin.com/in/shisholik




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Getting-parameter-name-from-exception-tp5749870p5749917.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to