cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6292] Introducing a configurable init-prefix property
Date Mon, 16 Mar 2015 21:10:20 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 566787ec5 -> ed2196b4e


[CXF-6292] Introducing a configurable init-prefix property


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/ed2196b4
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/ed2196b4
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/ed2196b4

Branch: refs/heads/2.7.x-fixes
Commit: ed2196b4e01a7d3555d1c09fcc4069cf454d25d0
Parents: 566787e
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Mon Mar 16 21:09:36 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Mon Mar 16 21:09:36 2015 +0000

----------------------------------------------------------------------
 .../http/src/main/resources/OSGI-INF/blueprint/osgiservlet.xml   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/ed2196b4/rt/transports/http/src/main/resources/OSGI-INF/blueprint/osgiservlet.xml
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/resources/OSGI-INF/blueprint/osgiservlet.xml b/rt/transports/http/src/main/resources/OSGI-INF/blueprint/osgiservlet.xml
index b08dbd5..99481fc 100644
--- a/rt/transports/http/src/main/resources/OSGI-INF/blueprint/osgiservlet.xml
+++ b/rt/transports/http/src/main/resources/OSGI-INF/blueprint/osgiservlet.xml
@@ -23,7 +23,7 @@ under the License.
   <cm:property-placeholder persistent-id="org.apache.cxf.osgi" id="cxfOsgiProperties"
update-strategy="reload">
 
     <cm:default-properties>
-
+      <cm:property name="org.apache.cxf.servlet.init-prefix" value="org.apache.cxf.servlet."/>
       <cm:property name="org.apache.cxf.servlet.context" value="/cxf"/>
       <cm:property name="org.apache.cxf.servlet.name" value="cxf-osgi-transport-servlet"/>
       <cm:property name="org.apache.cxf.servlet.hide-service-list-page" value="false"/>
@@ -50,7 +50,7 @@ under the License.
 
   <service ref="osgiServlet" interface="javax.servlet.Servlet">
     <service-properties>
-      <entry key="init-prefix" value=""/>
+      <entry key="init-prefix" value="${org.apache.cxf.servlet.init-prefix}"/>
       <entry key="alias" value="${org.apache.cxf.servlet.context}"/>
       <entry key="servlet-name" value="${org.apache.cxf.servlet.name}"/>
       <entry key="hide-service-list-page" value="${org.apache.cxf.servlet.hide-service-list-page}"/>


Mime
View raw message