cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5309) Support Bean Validation API for JAX-RS
Date Thu, 07 Nov 2013 00:46:17 GMT

    [ https://issues.apache.org/jira/browse/CXF-5309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815509#comment-13815509
] 

Andriy Redko commented on CXF-5309:
-----------------------------------

Hi Sergey,

I have looked on a ways to preserve method argument names. Obviously, they are not kept unless
debug build is being used.
Hibernate Validator will include parameter names provider based on Paranamer project (https://github.com/paul-hammant/paranamer),
respective implementation: https://github.com/hibernate/hibernate-validator/blob/master/engine/src/main/java/org/hibernate/validator/parameternameprovider/ParanamerParameterNameProvider.java.
Basically, technique is well-known and based on annotation processors. If you agree, I suggest
not to spend time on that now (and reuse the later implementation when it's released) unless
we see it as a critical issue. What do you think?

Thanks.
Andriy



> Support Bean Validation API for JAX-RS
> --------------------------------------
>
>                 Key: CXF-5309
>                 URL: https://issues.apache.org/jira/browse/CXF-5309
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS, JAX-WS Runtime
>            Reporter: Sergey Beryozkin
>         Attachments: patch-validation-exception-mapper.txt, patch-validation-poc.txt,
patch-validation-tests.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message