cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r967819 - in /websites/production/cxf/content: cache/docs.pageCache docs/jaxrs-services-configuration.html
Date Mon, 05 Oct 2015 12:47:26 GMT
Author: buildbot
Date: Mon Oct  5 12:47:26 2015
New Revision: 967819

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/jaxrs-services-configuration.html

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

Modified: websites/production/cxf/content/docs/jaxrs-services-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/jaxrs-services-configuration.html (original)
+++ websites/production/cxf/content/docs/jaxrs-services-configuration.html Mon Oct  5 12:47:26
2015
@@ -118,14 +118,14 @@ Apache CXF -- JAXRS Services Configurati
            <!-- Content -->
            <div class="wiki-content">
 <div id="ConfluenceContent"><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;<span
class="inline-first-p" style="font-size:2em;font-weight:bold">JAX-RS : Services Configuration</span>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1435780233836 {padding: 0px;}
-div.rbtoc1435780233836 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1435780233836 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1444049207952 {padding: 0px;}
+div.rbtoc1444049207952 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1444049207952 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1435780233836">
+/*]]>*/</style></p><div class="toc-macro rbtoc1444049207952">
 <ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAX-RSservicesprogrammatically">Configuring
JAX-RS services programmatically</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-OSGI">OSGI</a>
-<ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-Blueprint">Blueprint</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Spring">Spring</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-SpringBoot">Spring Boot</a></li></ul>
-</li><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAX-RSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-ConfiguringJAX-RSservicesincontainerwithSpringconfigurationfile.">Configuring
JAX-RS services in container with Spring configuration file.</a>
+<ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-Blueprint">Blueprint</a></li><li><a
shape="rect" href="#JAXRSServicesConfiguration-Spring">Spring</a></li></ul>
+</li><li><a shape="rect" href="#JAXRSServicesConfiguration-SpringBoot">Spring
Boot</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-ConfiguringJAX-RSendpointsprogrammaticallywithoutSpring">Configuring
JAX-RS endpoints programmatically without Spring</a></li><li><a shape="rect"
href="#JAXRSServicesConfiguration-ConfiguringJAX-RSservicesincontainerwithSpringconfigurationfile.">Configuring
JAX-RS services in container with Spring configuration file.</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-web.xml">web.xml</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#JAXRSServicesConfiguration-UsingSpringContextLoaderListener">Using
Spring ContextLoaderListener</a></li><li><a shape="rect" href="#JAXRSServicesConfiguration-UsingCXFServletinitparameters">Using
CXFServlet init parameters</a></li></ul>
 </li><li><a shape="rect" href="#JAXRSServicesConfiguration-beans.xml">beans.xml</a></li></ul>
@@ -158,7 +158,6 @@ sf.create();
 </div></div></li></ul><h1 id="JAXRSServicesConfiguration-OSGI">OSGI</h1><h2
id="JAXRSServicesConfiguration-Blueprint">Blueprint</h2><p>The following example
shows how to configure a JAX-RS endpoint in OSGI containers supporting Blueprint:</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:jaxws="http://cxf.apache.org/blueprint/jaxws"
            xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
            xmlns:cxf="http://cxf.apache.org/blueprint/core"
            xsi:schemaLocation="
@@ -190,9 +189,6 @@ sf.create();
          http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
          http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd"&gt;
 
-     &lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
-     &lt;import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" /&gt;
-
      &lt;jaxrs:server id="customerService" address="/customers"&gt;
         &lt;jaxrs:serviceBeans&gt;
            &lt;ref bean="serviceBean"/&gt;
@@ -203,7 +199,7 @@ sf.create();
 &lt;/beans&gt;
 
 </pre>
-</div></div><h2 id="JAXRSServicesConfiguration-SpringBoot">Spring Boot</h2><p>Example:</p><p>&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h1 id="JAXRSServicesConfiguration-SpringBoot">Spring Boot</h1><p>Example:</p><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.Bus;
 import org.apache.cxf.jaxrs.JAXRSServerFactoryBean;
 import org.apache.cxf.transport.servlet.CXFServlet;



Mime
View raw message