]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/resources/org/argeo/slc/core/execution/xml/slc-flow-0.12.xsd
Add license headers
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / resources / org / argeo / slc / core / execution / xml / slc-flow-0.12.xsd
index 884faaa2125de08634a3a7c879fa04eb12ac9d84..8b31a60bfcd11280ed99bb3e2210bd46fdbb4d80 100644 (file)
@@ -4,7 +4,8 @@
        targetNamespace="http://www.argeo.org/schema/slc-flow"
        elementFormDefault="qualified" attributeFormDefault="unqualified">
 
-       <xsd:import namespace="http://www.springframework.org/schema/beans" />
+       <xsd:import namespace="http://www.springframework.org/schema/beans"
+               schemaLocation="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd" />
 
        <xsd:annotation>
                <xsd:documentation><![CDATA[
@@ -26,7 +27,7 @@
                        <xsd:complexContent>
                                <xsd:extension base="beans:identifiedType">
                                        <xsd:sequence>
-                                               <xsd:element ref="beans:description" minOccurs="0"/>
+                                               <xsd:element ref="beans:description" minOccurs="0" />
                                                <xsd:sequence>
                                                        <xsd:element name="arg" minOccurs="0" maxOccurs="unbounded"
                                                                type="flow:argType">
                                                        -->
                                                </xsd:sequence>
                                        </xsd:sequence>
+                                       <xsd:attribute name="name" type="xsd:string">
+                                               <xsd:annotation>
+                                                       <xsd:documentation><![CDATA[
+       Name of the flow (alternative to ID).
+                                                       ]]></xsd:documentation>
+                                               </xsd:annotation>
+                                       </xsd:attribute>
+                                       <xsd:attribute name="class" type="xsd:string">
+                                               <xsd:annotation>
+                                                       <xsd:documentation><![CDATA[
+       Another implementation of execution flow.
+                                                       ]]></xsd:documentation>
+                                               </xsd:annotation>
+                                       </xsd:attribute>
                                        <xsd:attribute name="path" type="xsd:string">
                                                <xsd:annotation>
                                                        <xsd:documentation><![CDATA[
                        <xsd:complexContent>
                                <xsd:extension base="beans:identifiedType">
                                        <xsd:sequence>
-                                               <xsd:element ref="beans:description" minOccurs="0"/>
+                                               <xsd:element ref="beans:description" minOccurs="0" />
                                                <xsd:choice minOccurs="0" maxOccurs="unbounded">
                                                        <xsd:element name="primitive" type="flow:primitiveSpecAttributeType"
                                                                minOccurs="0" maxOccurs="unbounded">
                                        <xsd:choice minOccurs="1" maxOccurs="1">
                                                <xsd:element ref="beans:bean" />
                                                <xsd:element ref="beans:ref" />
+                                               <xsd:element ref="beans:list" />
+                                               <xsd:element ref="beans:set" />
+                                               <xsd:element ref="beans:map" />
+                                               <xsd:element ref="beans:props" />
                                        </xsd:choice>
                                </xsd:complexType>
                        </xsd:element>
                        <xsd:element ref="beans:bean" />
                        <xsd:element ref="beans:ref" />
                        <xsd:element ref="flow:param" />
+                       <xsd:element ref="beans:list" />
+                       <xsd:element ref="beans:set" />
+                       <xsd:element ref="beans:map" />
+                       <xsd:element ref="beans:props" />
                </xsd:choice>
                <xsd:attribute name="name" use="required" type="xsd:string">
                        <xsd:annotation>
                        ]]></xsd:documentation>
                </xsd:annotation>
        </xsd:attribute>
-<!--
-       <xsd:attribute name="var" type="xsd:boolean">
-               <xsd:annotation>
-                       <xsd:documentation><![CDATA[
-       If true, the decorated bean is set to scope execution and proxied.
+       <!--
+               <xsd:attribute name="var" type="xsd:boolean"> <xsd:annotation>
+               <xsd:documentation><![CDATA[ If true, the decorated bean is set to
+               scope execution and proxied. ]]></xsd:documentation> </xsd:annotation>
+               </xsd:attribute>
+       -->
+
+       <xsd:element name="variable">
+               <xsd:complexType>
+                       <xsd:annotation>
+                               <xsd:documentation><![CDATA[
+       Marks a bean definition as being variable, i.e. a scoped proxy of scope execution 
                        ]]></xsd:documentation>
-               </xsd:annotation>
-       </xsd:attribute>
--->
+                       </xsd:annotation>
+                       <xsd:attribute name="proxy-target-class" type="xsd:boolean"
+                               default="true">
+                               <xsd:annotation>
+                                       <xsd:documentation><![CDATA[
+                                               Are class-based (CGLIB) proxies to be created?
+                                               This is the default;
+                                               in order to switch to standard Java
+                                               interface-based proxies, turn this flag to
+                                               "false".
+                                       ]]></xsd:documentation>
+                               </xsd:annotation>
+                       </xsd:attribute>
+               </xsd:complexType>
+       </xsd:element>
+
        <xsd:element name="param">
                <xsd:annotation>
                        <xsd:documentation><![CDATA[
                </xsd:complexType>
        </xsd:element>
 
-       <!-- for description tags, beans or current namespace are valid -->
-       <xsd:element name="description" substitutionGroup="beans:description"/>
-
 </xsd:schema>
\ No newline at end of file