cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r964888 - in /websites/production/cxf/content: cache/docs.pageCache docs/featureslist.html docs/swagger2feature.html docs/swaggerfeature.html
Date Wed, 09 Sep 2015 13:47:33 GMT
Author: buildbot
Date: Wed Sep  9 13:47:33 2015
New Revision: 964888

Log:
Production update by buildbot for cxf

Removed:
    websites/production/cxf/content/docs/swaggerfeature.html
Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/featureslist.html
    websites/production/cxf/content/docs/swagger2feature.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 Wed Sep  9 13:47:33 2015
@@ -107,7 +107,7 @@ Apache CXF -- FeaturesList
          <td height="100%">
            <!-- Content -->
            <div class="wiki-content">
-<div id="ConfluenceContent"><h1 id="FeaturesList-CXFFeatures">CXF Features</h1><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"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Namespace</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Implementation Class</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Module</p></th></tr><tr><td
colspan="1" rowspan=
 "1" class="confluenceTd"><p>addressing</p></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"><p>Enables and controls the use of WS-Addressing.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.ws.addressing.WSAddressingFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-ws-addr</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>enableColoc</p></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"><p>Allowing a direct service invocation
to the service registered on the same bus as the client.</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" href="http://cxf.apache.org/docs/coloc-feature.html"
 >org.apache.cxf.binding.coloc.feature.ColocFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-bindings-coloc</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>failover</p></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"><p>Feature that allows clients to failover
from the initial target endpoint to another, compatible endpoint for the target service.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="failoverfeature.html">org.apache.cxf.clustering.FailoverFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>loadDistributor</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clusteri
 ng</a></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Failover
Feature extension that allows clients to distribute their calls</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="failoverfeature.html">org.apache.cxf.clustering.LoadDistributorFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logging</p></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"><p>Enables to log the content of outbound
and inbound messages and faults.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.feature.LoggingFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>policies</p></td><td
colspan="1" rowspan="1" class="conf
 luenceTd"><a shape="rect" href="http://cxf.apache.org/policy">http://cxf.apache.org/policy</a></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Enables and controls the use of the
WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference elements.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.ws.policy.WSPolicyFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-ws-policy</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>reliableMessaging</p></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"><p>Enables and controls the use of WS-RM.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.ws.rm.feature.RMFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-ws-rm</p></td></tr><tr><td
cols
 pan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Bean Validation 1.1 support</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="http://cxf.apache.org/docs/validationfeature.html">org.apache.cxf.validation.BeanValidationFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apac
 he.cxf.feature.FastInfosetFeature</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows the use of gzip to compress
the messages on the wire. 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.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.transport.http.gzip.GZIPFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Turns on collecting various performance

 and service invocation statistics values which can be accessed over JMX</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.management.interceptor.ResponseTimeFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxt-rt-management</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Uses Stax's XMLStreamReader as data
binding</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.databinding.stax.StaxDataBindingFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lightweight inbound and/or outbound
transformation
 s.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" href="http://cxf.apache.org/docs/transformationfeature.html">org.apache.cxf.feature.StaxTransformFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><em>bean</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" class="confluenceTd">Enables the generation of Swagger Spec 1.2
definitions from JAXRS endpoints</td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" href="http://cxf.apache.org/docs/swaggerfeature.html">org.apache.cxf.jaxrs.swagger.SwaggerFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd">cxf-rt-rs-service-description</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><em>bean</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" clas
 s="confluenceTd">Enables the generation of Swagger Spec 2.0 definitions from JAXRS endpoints</td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="http://cxf.apache.org/docs/swagger2feature.html">org.apache.cxf.jaxrs.swagger.Swagger2Feature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd">cxf-rt-rs-service-description</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>XSLT based inbound and/or outbound
transformations.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" href="http://cxf.apache.org/docs/xslt-feature.html">org.apache.cxf.feature.transform.XSLTFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr></tbody></table></div><p>Where
the namespace is <span><em>spring/blueprint</em>&#160;</span>and
the name 
 is <em>bean</em>, the child element must be a bean or a reference to a bean of
the specified implementation class. In the case of custom beans (namespaces specified) you
need not specify or be aware of the implementation class.</p><p>Note that the
"cxf-core" module is available starting from CXF 3.0.0. In CXF 2.7.x or earlier use "cxf-rt-core".</p></div>
+<div id="ConfluenceContent"><h1 id="FeaturesList-CXFFeatures">CXF Features</h1><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"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Namespace</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Implementation Class</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Module</p></th></tr><tr><td
colspan="1" rowspan=
 "1" class="confluenceTd"><p>addressing</p></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"><p>Enables and controls the use of WS-Addressing.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.ws.addressing.WSAddressingFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-ws-addr</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>enableColoc</p></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"><p>Allowing a direct service invocation
to the service registered on the same bus as the client.</p></td><td colspan="1"
rowspan="1" class="confluenceTd"><p><a shape="rect" href="http://cxf.apache.org/docs/coloc-feature.html"
 >org.apache.cxf.binding.coloc.feature.ColocFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-bindings-coloc</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>failover</p></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"><p>Feature that allows clients to failover
from the initial target endpoint to another, compatible endpoint for the target service.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="failoverfeature.html">org.apache.cxf.clustering.FailoverFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>loadDistributor</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><a shape="rect" href="http://cxf.apache.org/clustering">http://cxf.apache.org/clusteri
 ng</a></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Failover
Feature extension that allows clients to distribute their calls</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="failoverfeature.html">org.apache.cxf.clustering.LoadDistributorFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>logging</p></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"><p>Enables to log the content of outbound
and inbound messages and faults.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.feature.LoggingFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>policies</p></td><td
colspan="1" rowspan="1" class="conf
 luenceTd"><a shape="rect" href="http://cxf.apache.org/policy">http://cxf.apache.org/policy</a></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Enables and controls the use of the
WS-Policy Framework. Also serves as an attachment point for Policy and PolicyReference elements.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.ws.policy.WSPolicyFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-ws-policy</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p>reliableMessaging</p></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"><p>Enables and controls the use of WS-RM.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.ws.rm.feature.RMFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-rt-ws-rm</p></td></tr><tr><td
cols
 pan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Bean Validation 1.1 support</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="http://cxf.apache.org/docs/validationfeature.html">org.apache.cxf.validation.BeanValidationFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apac
 he.cxf.feature.FastInfosetFeature</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Allows the use of gzip to compress
the messages on the wire. 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.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.transport.http.gzip.GZIPFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Turns on collecting various performance

 and service invocation statistics values which can be accessed over JMX</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.management.interceptor.ResponseTimeFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxt-rt-management</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Uses Stax's XMLStreamReader as data
binding</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>org.apache.cxf.databinding.stax.StaxDataBindingFeature</p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>Lightweight inbound and/or outbound
transformation
 s.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" href="http://cxf.apache.org/docs/transformationfeature.html">org.apache.cxf.feature.StaxTransformFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><em>bean</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" class="confluenceTd">Enables the generation of Swagger Spec 1.2
definitions from JAXRS endpoints</td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" href="http://cxf.apache.org/docs/swagger2feature.html">org.apache.cxf.jaxrs.swagger.SwaggerFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd">cxf-rt-rs-service-description</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><em>bean</em></td><td
colspan="1" rowspan="1" class="confluenceTd"><em>spring/blueprint</em></td><td
colspan="1" rowspan="1" cla
 ss="confluenceTd">Enables the generation of Swagger Spec 2.0 definitions from JAXRS endpoints</td><td
colspan="1" rowspan="1" class="confluenceTd"><p><a shape="rect" href="http://cxf.apache.org/docs/swagger2feature.html">org.apache.cxf.jaxrs.swagger.Swagger2Feature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd">cxf-rt-rs-service-description</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>bean</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p><em>spring/blueprint</em></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>XSLT based inbound and/or outbound
transformations.</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p><a
shape="rect" href="http://cxf.apache.org/docs/xslt-feature.html">org.apache.cxf.feature.transform.XSLTFeature</a></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>cxf-core</p></td></tr></tbody></table></div><p>Where
the namespace is <span><em>spring/blueprint</em>&#160;</span>and
the name
  is <em>bean</em>, the child element must be a bean or a reference to a bean
of the specified implementation class. In the case of custom beans (namespaces specified)
you need not specify or be aware of the implementation class.</p><p>Note that
the "cxf-core" module is available starting from CXF 3.0.0. In CXF 2.7.x or earlier use "cxf-rt-core".</p></div>
            </div>
            <!-- Content -->
          </td>

Modified: websites/production/cxf/content/docs/swagger2feature.html
==============================================================================
--- websites/production/cxf/content/docs/swagger2feature.html (original)
+++ websites/production/cxf/content/docs/swagger2feature.html Wed Sep  9 13:47:33 2015
@@ -28,6 +28,16 @@
 <meta name="description" content="Apache CXF, Services Framework - Swagger2Feature">
 
 
+<link type="text/css" rel="stylesheet" href="/resources/highlighter/styles/shCoreCXF.css">
+<link type="text/css" rel="stylesheet" href="/resources/highlighter/styles/shThemeCXF.css">
+
+<script src='/resources/highlighter/scripts/shCore.js'></script>
+<script src='/resources/highlighter/scripts/shBrushJava.js'></script>
+<script src='/resources/highlighter/scripts/shBrushXml.js'></script>
+<script>
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+</script>
 
 
     <title>
@@ -108,13 +118,97 @@ Apache CXF -- Swagger2Feature
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><h1 id="Swagger2Feature-Swagger2Feature">Swagger2Feature</h1><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1441795617849 {padding: 0px;}
-div.rbtoc1441795617849 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1441795617849 li {margin-left: 0px;padding-left: 0px;}
-
-/*]]>*/</style></p><div class="toc-macro rbtoc1441795617849">
-<ul class="toc-indentation"><li><a shape="rect" href="#Swagger2Feature-Swagger2Feature">Swagger2Feature</a></li></ul>
-</div><p>TODO</p><p>&#160;</p></div>
+div.rbtoc1441806420055 {padding: 0px;}
+div.rbtoc1441806420055 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1441806420055 li {margin-left: 0px;padding-left: 0px;}
+
+/*]]>*/</style></p><div class="toc-macro rbtoc1441806420055">
+<ul class="toc-indentation"><li><a shape="rect" href="#Swagger2Feature-Swagger2Feature">Swagger2Feature</a></li><li><a
shape="rect" href="#Swagger2Feature-Properties">Properties</a></li><li><a
shape="rect" href="#Swagger2Feature-ConfiguringProgramatically">Configuring Programatically</a></li><li><a
shape="rect" href="#Swagger2Feature-ConfiguringinSpring">Configuring in Spring</a></li><li><a
shape="rect" href="#Swagger2Feature-ConfiguringinBlueprint">Configuring in Blueprint</a></li></ul>
+</div><p>&#160;</p><p>The CXF Swagger2Feature allows you to generate&#160;<a
shape="rect" class="external-link" href="http://swagger.io/specification/" rel="nofollow">Swagger
2.0</a>&#160;documents from JAX-RS service endpoints with a simple configuration.</p><p>For
generating <a shape="rect" class="external-link" href="https://github.com/swagger-api/swagger-spec/blob/master/versions/1.2.md"
rel="nofollow">Swagger 1.2</a> documents, you can use SwaggerFeature instead of Swagger2Feature.</p><p>These
features can be configured programatically in Java or using Spring or Blueprint beans.</p><h1
id="Swagger2Feature-Properties">Properties</h1><p><span style="line-height:
1.4285715;">The following optional parameters can be configured in Swagger2Feature</span></p><p><span
style="line-height: 1.4285715;">Note some properties listed below are not available or
used differently in SwaggerFeature, as the corresponding properties are used differently in
Swagger 2.0 and Swagger 1.2. Please refer 
 to the corresponding Swagger documentation.)</span></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">Description</th><th colspan="1" rowspan="1"
class="confluenceTh">Default</th></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd">basePath</td><td colspan="1" rowspan="1" class="confluenceTd">the
context root path<sup>+</sup></td><td colspan="1" rowspan="1" class="confluenceTd">null</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">contact</td><td colspan="1" rowspan="1"
class="confluenceTd">the contact information<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">"users@cxf.apache.org"</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">description</td><td colspan="1" rowspan="1"
class="confluenceTd">the description<span>+</span></td><td colspan="1"
rowspan="1" class="confluenceTd">"The Application"</td></tr><tr><t
 d colspan="1" rowspan="1" class="confluenceTd">filterClass</td><td colspan="1"
rowspan="1" class="confluenceTd">a security filter<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">null</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">host</td><td colspan="1" rowspan="1"
class="confluenceTd">the host and port<span>+</span></td><td colspan="1"
rowspan="1" class="confluenceTd">null</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">ignoreRoutes</td><td colspan="1" rowspan="1"
class="confluenceTd">excludes specific paths when scanning all resources (see scanAllResources)<span>+</span><span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">null</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">license</td><td colspan="1" rowspan="1"
class="confluenceTd">the license<span>+</span></td><td colspan="1"
rowspan="1" class="confluenceTd">"Apache 2.0 License"</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">licenceUrl<
 /td><td colspan="1" rowspan="1" class="confluenceTd">the license URL<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">"<span class="nolink">http://www.apache.org/licenses/LICENSE-2.0.html</span>"</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">prettyPrint</td><td colspan="1" rowspan="1"
class="confluenceTd">when generating swagger.json, pretty-print the json document<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">false</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">resourcePackage</td><td colspan="1"
rowspan="1" class="confluenceTd">a list of comma separated package names where resources
must be scanned<span>+</span></td><td colspan="1" rowspan="1" class="confluenceTd">a
list of service classes configured at the endpoint</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">runAsFilter</td><td colspan="1" rowspan="1" class="confluenceTd">runs
the feature as a filter</td><td colspan="1" rowspan="1" class="conf
 luenceTd">false</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">scan</td><td
colspan="1" rowspan="1" class="confluenceTd">generates the swagger documentation<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">true</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">scanAllResources</td><td colspan="1"
rowspan="1" class="confluenceTd">scans all resources including non-annotated JAX-RS resources<span>+</span><span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">false</td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd">schemes</td><td colspan="1" rowspan="1"
class="confluenceTd">the protocol schemes<span>+</span></td><td colspan="1"
rowspan="1" class="confluenceTd">null</td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd">termsOfServiceUrl</td><td colspan="1" rowspan="1"
class="confluenceTd">the terms of service URL<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">null</td></tr><tr><td
colspan="1
 " rowspan="1" class="confluenceTd">title</td><td colspan="1" rowspan="1" class="confluenceTd">the
title<span>+</span></td><td colspan="1" rowspan="1" class="confluenceTd">"Sample
REST Application"</td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd">version</td><td
colspan="1" rowspan="1" class="confluenceTd">the version<span>+</span></td><td
colspan="1" rowspan="1" class="confluenceTd">"1.0.0"</td></tr></tbody></table></div><p>Note:
those descriptions marked with&#160;<span>+ correspond to the properties defined
in Swagger's BeanConfig, and those marked with&#160;<span>+</span><span>+
correspond to&#160;the properties defined in Swagger's ReaderConfig.</span></span></p><h1
id="Swagger2Feature-ConfiguringProgramatically">Configuring Programatically</h1><p>&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">import
org.apache.cxf.frontend.ServerFactoryBean;
+import org.apache.cxf.jaxrs.swagger.Swagger2Feature;
+...
+
+    Swagger2Feature feature = new Swagger2Feature();
+
+    // customize some of the properties
+    feature.setBasePath("/api");
+    	
+   	// add this feature to the endpoint (e.g., to ServerFactoryBean's features) 
+   	ServerFactoryBean sfb = new ServerFactoryBean();
+   	sfb.getFeatures().add(feature);</pre>
+</div></div><p>&#160;</p><h1 id="Swagger2Feature-ConfiguringinSpring">Configuring
in Spring</h1><p>&#160;</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;beans
xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:jaxrs="http://cxf.apache.org/jaxrs"
+       xsi:schemaLocation="http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+                           http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd
+                           http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
+    ...&#160;
+    &lt;!-- JAXRS providers --&gt;
+    &lt;bean id="jsonProvider" class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"
/&gt;
+
+    &lt;!-- Application resources --&gt;
+    &lt;bean id="sampleResource" class="demo.jaxrs.swagger.server.Sample" /&gt;
+
+    &lt;!-- CXF Swagger2Feature --&gt;  
+    &lt;bean id="swagger2Feature" class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"&gt;
+        &lt;!-- customize some of the properties --&gt;
+        &lt;property name="basePath" value="/app/swaggerSample"/&gt;
+    &lt;/bean&gt;
+
+    ...
+    &lt;jaxrs:server id="sampleServer" address="/swaggerSample"&gt;
+        &lt;jaxrs:serviceBeans&gt;
+            &lt;ref bean="sampleResource" /&gt;
+        &lt;/jaxrs:serviceBeans&gt;
+        &lt;jaxrs:providers&gt;
+            &lt;ref bean="jsonProvider" /&gt;
+        &lt;/jaxrs:providers&gt;
+        &lt;jaxrs:features&gt;
+            &lt;ref bean="swagger2Feature" /&gt;
+        &lt;/jaxrs:features&gt;
+    &lt;/jaxrs:server&gt;
+&lt;/beans&gt;
+
+</pre>
+</div></div><p>&#160;</p><h1 id="Swagger2Feature-ConfiguringinBlueprint">Configuring
in Blueprint</h1><p>&#160;</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+<pre class="brush: xml; gutter: false; theme: Default" style="font-size:12px;">&lt;blueprint
xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:cxf="http://cxf.apache.org/blueprint/core"
+       xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
+       xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
+                           http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd
+                           http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/blueprint/jaxrs.xsd"&gt;&#160;
+    ...
+    &lt;!-- JAXRS providers --&gt;
+    &lt;bean id="jsonProvider" class="com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider"
/&gt;
+&#160;
+    &lt;!-- Application resources --&gt;
+    &lt;bean id="sampleResource" class="demo.jaxrs.swagger.server.Sample" /&gt;
+
+
+    &lt;!-- CXF Swagger2Feature --&gt;  
+    &lt;bean id="swagger2Feature" class="org.apache.cxf.jaxrs.swagger.Swagger2Feature"&gt;
+        &lt;!-- customize some of the properties --&gt;
+        &lt;property name="basePath" value="/cxf/swaggerSample"/&gt;
+    &lt;/bean&gt;
+&#160;
+    ...
+    &lt;jaxrs:server id="sampleServer" address="/swaggerSample"&gt;
+        &lt;jaxrs:serviceBeans&gt;
+            &lt;ref component-id="sampleResource" /&gt;
+        &lt;/jaxrs:serviceBeans&gt;
+        &lt;jaxrs:providers&gt;
+            &lt;ref component-id="jsonProvider" /&gt;
+        &lt;/jaxrs:providers&gt;
+        &lt;jaxrs:features&gt;
+            &lt;ref component-id="swagger2Feature" /&gt;
+        &lt;/jaxrs:features&gt;
+    &lt;/jaxrs:server&gt;
+&lt;/blueprint&gt;
+&#160;</pre>
+</div></div><p><span><span><br clear="none"></span></span></p><p>&#160;</p></div>
            </div>
            <!-- Content -->
          </td>



Mime
View raw message