]> 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 439528e0ff3a8505009a3031e5ebb938296e39b7..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,6 +27,7 @@
                        <xsd:complexContent>
                                <xsd:extension base="beans:identifiedType">
                                        <xsd:sequence>
+                                               <xsd:element ref="beans:description" minOccurs="0" />
                                                <xsd:sequence>
                                                        <xsd:element name="arg" minOccurs="0" maxOccurs="unbounded"
                                                                type="flow:argType">
@@ -41,6 +43,7 @@
                                                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
                                                                <xsd:element ref="beans:bean" />
                                                                <xsd:element ref="beans:ref" />
+                                                               <xsd:element ref="flow:flow" />
                                                        </xsd:choice>
                                                        <!--
                                                                <xsd:any namespace="##other" processContents="strict"
                                                        -->
                                                </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: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:choice minOccurs="0" maxOccurs="1">
                        <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: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 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>