cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r888949 - in /websites/production/cxf/content: cache/docs.pageCache docs/featureslist.html docs/jax-rs.html docs/validationfeature.html
Date Tue, 03 Dec 2013 14:48:16 GMT
Author: buildbot
Date: Tue Dec  3 14:48:16 2013
New Revision: 888949

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/featureslist.html
    websites/production/cxf/content/docs/jax-rs.html
    websites/production/cxf/content/docs/validationfeature.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/featureslist.html
==============================================================================
--- websites/production/cxf/content/docs/featureslist.html (original)
+++ websites/production/cxf/content/docs/featureslist.html Tue Dec  3 14:48:16 2013
@@ -125,7 +125,7 @@ Apache CXF -- FeaturesList
 <p>The following elements can appear as child elements of the features element in the
<a shape="rect" class="external-link" href="http://org.apache.cxf/core" rel="nofollow">http://org.apache.cxf/core</a>,
<a shape="rect" class="external-link" href="http://org.apache.cxf/jaxws" rel="nofollow">http://org.apache.cxf/jaxws</a>
and <a shape="rect" class="external-link" href="http://org.apache.cxf/jaxrs" rel="nofollow">http://org.apache.cxf/jaxrs</a>
namespaces:</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh">
Namespace </th><th colspan="1" rowspan="1" class="confluenceTh"> Description</th><th
colspan="1" rowspan="1" class="confluenceTh"> Implementation Class </th><th colspan="1"
rowspan="1" class="confluenceTh"> Module </th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> logging </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/core">http://cxf.apache.org/core</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables to log the content
of outbound and inbound messages and faults.</td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.feature.LoggingFeature </td><td colspan="1" rowspan="1" class="confluenceTd">
cxf-core </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
failover </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="re
 ct" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Feature that allows clients
to failover from the initial target endpoint to another, compatible endpoint for the target
service.</td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect"
href="failoverfeature.html#FailoverFeature-FailoverFeatureFailover">org.apache.cxf.clustering.FailoverFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> load distributor </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Failover Feature extension
that allows clients to distribute their calls</td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="failoverfeature.html#FailoverFeature-FailoverFeatur
 eLoadDistribution">org.apache.cxf.clustering.LoadDistributorFeature</a> </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Turns on use of FastInfoset to encode messages.  The default is to negotiate the use of FastInfoset
with the server as part of the first message, but a "force=true" property can force it, even
on the first message. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.feature.FastInfosetFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Allows the use of gzip to compress the messages on the wire.  The default is to negotiate
the use of FastInfoset with t
 he server as part of the first message, but a "force=true" property can force it, even on
the first message.  </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.transport.http.gzip.GZIPFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> enableColoc </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/binding/coloc">http://cxf.apache.org/binding/coloc</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.binding.coloc.feature.ColocFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-bindings-coloc </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.org</a> </td><td
  colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1"
class="confluenceTd"> org.apache.cxf.databinding.stax.StaxDataBindingFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.org</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.management.interceptor.ResponseTimeFeature </td><td colspan="1" rowspan="1"
class="confluenceTd"> cxt-rt-management </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> addressing </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/addressing">http://cxf.apache.org/ws/addressing</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> E
 nables and controls the use of WS-Addressing. </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.ws.addressing.WSAddressingFeature </td><td colspan="1" rowspan="1"
class="confluenceTd"> cxf-rt-ws-addr </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> policies </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/policy-config">http://cxf.apache.org/policy-config</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables and controls the
use of the WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference
elements. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.ws.policy.WSPolicyFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-policy </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> reliableMessaging </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/rm/manager
 ">http://cxf.apache.org/ws/rm/manager</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Enables and controls the use of WS-RM. </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.ws.rm.feature.RMFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-rm </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> Stax transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Lightweight inbound and/or outbound transformations. </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/docs/transformationfeature.html">org.apache.cxf.feature.StaxTransformFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> XSLT transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
XSLT based inbou
 nd and/or outbound transformations. </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/docs/xslt-feature.html">org.apache.cxf.feature.transform.XSLTFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> Bean Validation </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Bean Validation 1.1 support </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="validationfeature.html" title="ValidationFeature">ValidationFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"> Name </th><th colspan="1" rowspan="1" class="confluenceTh">
Namespace </th><th colspan="1" rowspan="1" class="confluenceTh"> Description</th><th
colspan="1" rowspan="1" class="confluenceTh"> Implementation Class </th><th colspan="1"
rowspan="1" class="confluenceTh"> Module </th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> logging </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/core">http://cxf.apache.org/core</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables to log the content
of outbound and inbound messages and faults.</td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.feature.LoggingFeature </td><td colspan="1" rowspan="1" class="confluenceTd">
cxf-core </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">
failover </td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="re
 ct" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Feature that allows clients
to failover from the initial target endpoint to another, compatible endpoint for the target
service.</td><td colspan="1" rowspan="1" class="confluenceTd"> <a shape="rect"
href="failoverfeature.html#FailoverFeature-FailoverFeatureFailover">org.apache.cxf.clustering.FailoverFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> load distributor </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clustering</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Failover Feature extension
that allows clients to distribute their calls</td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="failoverfeature.html#FailoverFeature-FailoverFeatur
 eLoadDistribution">org.apache.cxf.clustering.LoadDistributorFeature</a> </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Turns on use of FastInfoset to encode messages.  The default is to negotiate the use of FastInfoset
with the server as part of the first message, but a "force=true" property can force it, even
on the first message. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.feature.FastInfosetFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Allows the use of gzip to compress the messages on the wire.  The default is to negotiate
the use of FastInfoset with t
 he server as part of the first message, but a "force=true" property can force it, even on
the first message.  </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.transport.http.gzip.GZIPFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> enableColoc </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/binding/coloc">http://cxf.apache.org/binding/coloc</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.binding.coloc.feature.ColocFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-bindings-coloc </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.org</a> </td><td
  colspan="1" rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1"
class="confluenceTd"> org.apache.cxf.databinding.stax.StaxDataBindingFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> bean </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" class="external-link" href="http://springframework.org"
rel="nofollow">http://springframework.org</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.management.interceptor.ResponseTimeFeature </td><td colspan="1" rowspan="1"
class="confluenceTd"> cxt-rt-management </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> addressing </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/addressing">http://cxf.apache.org/ws/addressing</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> E
 nables and controls the use of WS-Addressing. </td><td colspan="1" rowspan="1" class="confluenceTd">
org.apache.cxf.ws.addressing.WSAddressingFeature </td><td colspan="1" rowspan="1"
class="confluenceTd"> cxf-rt-ws-addr </td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"> policies </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/policy-config">http://cxf.apache.org/policy-config</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> Enables and controls the
use of the WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference
elements. </td><td colspan="1" rowspan="1" class="confluenceTd"> org.apache.cxf.ws.policy.WSPolicyFeature
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-policy </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> reliableMessaging </td><td colspan="1"
rowspan="1" class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/ws/rm/manager
 ">http://cxf.apache.org/ws/rm/manager</a> </td><td colspan="1" rowspan="1"
class="confluenceTd"> Enables and controls the use of WS-RM. </td><td colspan="1"
rowspan="1" class="confluenceTd"> org.apache.cxf.ws.rm.feature.RMFeature </td><td
colspan="1" rowspan="1" class="confluenceTd"> cxf-rt-ws-rm </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> Stax transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Lightweight inbound and/or outbound transformations. </td><td colspan="1" rowspan="1"
class="confluenceTd"> <a shape="rect" href="http://cxf.apache.org/docs/transformationfeature.html">org.apache.cxf.feature.StaxTransformFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> XSLT transform </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
XSLT based inbou
 nd and/or outbound transformations. </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/docs/xslt-feature.html">org.apache.cxf.feature.transform.XSLTFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"> Bean Validation </td><td colspan="1"
rowspan="1" class="confluenceTd"> ... </td><td colspan="1" rowspan="1" class="confluenceTd">
Bean Validation 1.1 support </td><td colspan="1" rowspan="1" class="confluenceTd">
<a shape="rect" href="http://cxf.apache.org/docs/validationfeature.html">org.apache.cxf.validation.BeanValidationFeature</a>
</td><td colspan="1" rowspan="1" class="confluenceTd"> cxf-core </td></tr></tbody></table>
 </div>
 
 

Modified: websites/production/cxf/content/docs/jax-rs.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs.html (original)
+++ websites/production/cxf/content/docs/jax-rs.html Tue Dec  3 14:48:16 2013
@@ -399,7 +399,7 @@ A standalone <a shape="rect" class="exte
 
 <h1><a shape="rect" name="JAX-RS-WhatisNew"></a>What is New</h1>
 
-<ul><li>Complete support for JAX-RS 2.0, please see <a shape="rect" href="jax-rs-basics.html"
title="JAX-RS Basics">JAX-RS Basics</a> for more information</li><li>Bean
Validation 1.1 Support</li><li>Swagger Feature</li></ul>
+<ul><li>Complete support for JAX-RS 2.0, please see <a shape="rect" href="jax-rs-basics.html"
title="JAX-RS Basics">JAX-RS Basics</a> for more information</li><li>Bean
Validation 1.1 Support, please see <a shape="rect" href="http://cxf.apache.org/docs/validationfeature.html">http://cxf.apache.org/docs/validationfeature.html</a>
for more information</li><li>Swagger Feature</li></ul>
 
 
 <h1><a shape="rect" name="JAX-RS-GettingStartedwithJAXRS"></a>Getting Started
with JAX-RS</h1>
@@ -440,7 +440,7 @@ A standalone <a shape="rect" class="exte
 
 <h2><a shape="rect" name="JAX-RS-BeanValidation"></a>Bean Validation</h2>
 
-<p>Bean Validation 1.1 is supported since CXF 3.0.0-milestone1. Please see the <a
shape="rect" href="jax-rs-validation.html" title="JAX-RS Validation">JAX-RS Validation</a>
for more information.</p>
+<p>Bean Validation 1.1 is supported since CXF 3.0.0-milestone1. Please see the <a
shape="rect" href="http://cxf.apache.org/docs/validationfeature.html">http://cxf.apache.org/docs/validationfeature.html</a>
for more information.</p>
 
 <h2><a shape="rect" name="JAX-RS-Filters%2CInterceptorsandInvokers"></a>Filters,
Interceptors and Invokers</h2>
 

Modified: websites/production/cxf/content/docs/validationfeature.html
==============================================================================
--- websites/production/cxf/content/docs/validationfeature.html (original)
+++ websites/production/cxf/content/docs/validationfeature.html Tue Dec  3 14:48:16 2013
@@ -187,7 +187,7 @@ public class Person {
 <h2><a shape="rect" name="ValidationFeature-UsingHibernateValidatorasbeanvalidationprovider"></a>Using
Hibernate Validator as bean validation provider</h2>
 <p><a shape="rect" class="external-link" href="http://www.hibernate.org/subprojects/validator.html"
rel="nofollow">http://www.hibernate.org/subprojects/validator.html</a></p>
 
-<p>Hibernate Validator is mature and feature-rich validation provider with full support
of Bean Validation 1.1 (as of version 5.x.x which is the reference implementation for JSR
349 - Bean Validation 1.1 API). To use Hibernate Validator in your Apache CXF projects add
the following dependency:</p>
+<p>Hibernate Validator is a mature and feature-rich validation provider with the full
Bean Validation 1.1 support (as of version 5.x.x which is the reference implementation for
JSR 349 - Bean Validation 1.1 API). Add the following dependency:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
@@ -217,16 +217,18 @@ public class Person {
 
 <h1><a shape="rect" name="ValidationFeature-CommonBeanValidation1.1Interceptors"></a>Common
Bean Validation 1.1 Interceptors</h1>
 
-<p>JAX-RS and JAX-WS frontends can rely on the following common interceptors to get
Bean Validation done:</p>
+<p>JAX-RS and JAX-WS frontends can rely on the following common interceptors to get
Bean Validation 1.1 done:</p>
 
-<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/BeanValidationInInterceptor.java">org.apache.cxf.validation.BeanValidationInInterceptor</a>:
validates every input message (request) arguments against validation constraints, raises org.apache.cxf.validation.ConstraintViolationException
if any violations are encountered</li></ul>
+<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/BeanValidationInInterceptor.java">org.apache.cxf.validation.BeanValidationInInterceptor</a>:
validates resource method parameters against validation constraints, raises javax.validation.ConstraintViolationException
if any violations are encountered</li></ul>
 
 
-<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/BeanValidationOutInterceptor.java">org.apache.cxf.validation.BeanValidationOutInterceptor</a>:
validates every output message (response) arguments against validation constraints, raises
org.apache.cxf.validation.ResponseConstraintViolationException if any violations are encountered</li></ul>
+<ul class="alternate" type="square"><li><a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/BeanValidationOutInterceptor.java">org.apache.cxf.validation.BeanValidationOutInterceptor</a>:
validates resource method response values against validation constraints, raises <a shape="rect"
class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/ResponseConstraintViolationException">org.apache.cxf.validation.ResponseConstraintViolationException</a>
if any violations are encountered.</li></ul>
 
 
 <p>Both interceptors depend on <a shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/BeanValidationProvider.java">org.apache.cxf.validation.BeanValidationProvider</a>
which abstracts away Bean Validation 1.1 API and provides useful utility methods. This provider
can be directly injected into the interceptors as a 'provider' property. Injecting the provider
is optional, the interceptors will create a default provider instance if it has not been injected.
</p>
 
+<p>CXF exception handlers can check if a caught javax.validation.ValidationException
is an instance of CXF-specific ResponseConstraintViolationException in order to find whether
the failure occurred during the return value validation or not.</p>
+
 <p>The provider can be initialized with javax.validation.ParameterNameProvider or <a
shape="rect" class="external-link" href="http://svn.apache.org/repos/asf/cxf/trunk/core/src/main/java/org/apache/cxf/validation/ValidationConfiguration.java">ValidationConfiguration</a>
in order to customize the way Bean Validation 1.1 implementation does its work.</p>
 
 <p>Note that interceptors will only be effective if the current service object is a
singleton. They will make a best effort of getting hold of a reference to the current service
object, which can also be injected directly as a 'serviceObject' property.</p>
@@ -312,6 +314,9 @@ public class BookWorldImpl implements Bo
 <ul class="alternate" type="square"><li>org.apache.cxf.jaxrs.validation.JAXRSBeanValidationOutInterceptor:
validates JAX-RS resource method return values, unwraps JAX-RS Response. It can also be used
as a JAX-RS 2.0 ContainerResponseFilter</li></ul>
 
 
+<ul class="alternate" type="square"><li>org.apache.cxf.jaxrs.validation.JAXRSBeanValidationFeature
can be used to register both in and out validation interceptors.</li></ul>
+
+
 <ul class="alternate" type="square"><li>org.apache.cxf.jaxrs.validation.JAXRSBeanValidationInvoker:
register it as a jaxrs:invoker if you need non-singleton service objects validated.</li></ul>
 
 
@@ -320,6 +325,7 @@ public class BookWorldImpl implements Bo
 
 <p>org.apache.cxf.jaxrs.validation.JAXRSParameterNameProvider can be registered directly
with the common BeanValidationProvider to get the error messages customized.</p>
 
+<p>JAX-RS 2.0 developers should prefer using JAX-RS frontend specific interceptors
when possible to make sure JAX-RS specific fixes are picked up automatically.</p>
 
 <h2><a shape="rect" name="ValidationFeature-ConfiguringBeanValidation1.1usingJAXRSServerFactoryBean"></a>Configuring
Bean Validation 1.1 using JAXRSServerFactoryBean</h2>
 



Mime
View raw message