cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Deslauriers (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6756) Support Bean Validation for JAX-RS : non-singleton objects
Date Sat, 23 Jan 2016 13:45:39 GMT
Philippe Deslauriers created CXF-6756:
-----------------------------------------

             Summary: Support Bean Validation for JAX-RS : non-singleton objects
                 Key: CXF-6756
                 URL: https://issues.apache.org/jira/browse/CXF-6756
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.1.4
         Environment: using CXF in a web application (war) within an ear

websphere 8.5.5 (full) 
ear war class loader policy : module
war class loader setting : parent last 
            Reporter: Philippe Deslauriers
            Priority: Critical


I use the {{CXFNonSpringJaxrsServlet}} for initialization.

Bean validation is not working for classes registered using the {{javax.ws.rs.core.Application
getClasses()}} method.

It only works if I register my classes as singleton using the {{javax.ws.rs.core.Application
getSingletons()}}

Similar to CXF-5310 but I believe JAX-RS bean validation support is not optionnal or conditionnal
to how classes are registered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message