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-6547] Adding an init prefix property, thanks to James Carman
Date Tue, 18 Aug 2015 14:09:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/master c4ce1dd67 -> f851c6d5e


[CXF-6547] Adding an init prefix property, thanks to James Carman


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

Branch: refs/heads/master
Commit: f851c6d5e1115230b7e1db6b6a276eed5663b4a8
Parents: c4ce1dd
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Aug 18 15:09:41 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Aug 18 15:09:41 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/cxf/transport/http/osgi/ServletExporter.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/f851c6d5/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
index 3274922..d46d0f6 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ServletExporter.java
@@ -55,6 +55,8 @@ class ServletExporter implements ManagedService {
             properties = new Properties();
         }
         Properties sprops = new Properties();
+        sprops.put("init-param", 
+                   getProp(properties, "org.apache.cxf.servlet.init-param", ""));
         sprops.put("servlet-name", 
                    getProp(properties, "org.apache.cxf.servlet.name", "cxf-osgi-transport-servlet"));
         sprops.put("hide-service-list-page", 


Mime
View raw message