cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/2] git commit: [CXF-6061] Allow parameterized booleans for the public/start attributes
Date Fri, 24 Oct 2014 17:49:41 GMT
[CXF-6061] Allow parameterized booleans for the public/start attributes


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

Branch: refs/heads/2.7.x-fixes
Commit: cbd794bd819a5804d75c392a5ea71f6ca3ffc3dd
Parents: 7daa152
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Oct 24 13:19:19 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Oct 24 13:49:31 2014 -0400

----------------------------------------------------------------------
 .../jaxws/src/main/resources/schemas/blueprint/jaxws.xsd  |  8 ++++++--
 rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd    | 10 +++++++---
 2 files changed, 13 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/cbd794bd/rt/frontend/jaxws/src/main/resources/schemas/blueprint/jaxws.xsd
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxws/src/main/resources/schemas/blueprint/jaxws.xsd b/rt/frontend/jaxws/src/main/resources/schemas/blueprint/jaxws.xsd
index f27ac4e..2c233ee 100644
--- a/rt/frontend/jaxws/src/main/resources/schemas/blueprint/jaxws.xsd
+++ b/rt/frontend/jaxws/src/main/resources/schemas/blueprint/jaxws.xsd
@@ -22,12 +22,16 @@
   xmlns:beans="http://www.osgi.org/xmlns/blueprint/v1.0.0"
   xmlns:cxf-beans="http://cxf.apache.org/configuration/beans"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:pt="http://cxf.apache.org/configuration/parameterized-types" 
+
   targetNamespace="http://cxf.apache.org/blueprint/jaxws" 
   elementFormDefault="qualified"
   attributeFormDefault="unqualified"  >
 
   <xsd:import namespace="http://www.osgi.org/xmlns/blueprint/v1.0.0" schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"/>
   <xsd:import namespace="http://cxf.apache.org/configuration/beans" schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
+  <xsd:import namespace="http://cxf.apache.org/configuration/parameterized-types"
+             schemaLocation="http://cxf.apache.org/schemas/configuration/parameterized-types.xsd"/>
 
   <xsd:element name="endpoint">
     <xsd:annotation>
@@ -135,7 +139,7 @@
                 with the ref bean which is wrapped by using Spring AOP.</xsd:documentation>
             </xsd:annotation>
           </xsd:attribute>
-          <xsd:attribute name="publish" type="xsd:boolean" default="true">
+          <xsd:attribute name="publish" type="pt:ParameterizedBoolean" default="true">
             <xsd:annotation>
               <xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
             </xsd:annotation>
@@ -274,7 +278,7 @@
                 classpath.</xsd:documentation>
             </xsd:annotation>
           </xsd:attribute>
-          <xsd:attribute name="start" type="xsd:boolean" default="true">
+          <xsd:attribute name="start" type="pt:ParameterizedBoolean" default="true">
             <xsd:annotation>
               <xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
             </xsd:annotation>

http://git-wip-us.apache.org/repos/asf/cxf/blob/cbd794bd/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd b/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd
index 08a59cd..17ef16c 100644
--- a/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd
+++ b/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd
@@ -21,13 +21,17 @@
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns:beans="http://www.springframework.org/schema/beans"
   xmlns:cxf-beans="http://cxf.apache.org/configuration/beans"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:pt="http://cxf.apache.org/configuration/parameterized-types" 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
   targetNamespace="http://cxf.apache.org/jaxws" 
   elementFormDefault="qualified"
   attributeFormDefault="unqualified"  >
 
   <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd"/>
   <xsd:import namespace="http://cxf.apache.org/configuration/beans" schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
+  <xsd:import namespace="http://cxf.apache.org/configuration/parameterized-types"
+             schemaLocation="http://cxf.apache.org/schemas/configuration/parameterized-types.xsd"/>
+
 
   <xsd:element name="endpoint">
     <xsd:annotation>
@@ -135,7 +139,7 @@
                 with the ref bean which is wrapped by using Spring AOP.</xsd:documentation>
             </xsd:annotation>
           </xsd:attribute>
-          <xsd:attribute name="publish" type="xsd:boolean" default="true">
+          <xsd:attribute name="publish" type="pt:ParameterizedBoolean" default="true">
             <xsd:annotation>
               <xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
             </xsd:annotation>
@@ -274,7 +278,7 @@
                 classpath.</xsd:documentation>
             </xsd:annotation>
           </xsd:attribute>
-          <xsd:attribute name="start" type="xsd:boolean" default="true">
+          <xsd:attribute name="start" type="pt:ParameterizedBoolean" default="true">
             <xsd:annotation>
               <xsd:documentation>Specifies if the service should be automatically published.</xsd:documentation>
             </xsd:annotation>


Mime
View raw message