Author: jonesde
Date: Tue Sep 25 15:56:23 2007 New Revision: 579407 URL: http://svn.apache.org/viewvc?rev=579407&view=rev Log: Updated dtds Modified: ofbiz/site/dtds/entity-config.xsd ofbiz/site/dtds/service-eca.xsd ofbiz/site/dtds/services.xsd Modified: ofbiz/site/dtds/entity-config.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entity-config.xsd?rev=579407&r1=579406&r2=579407&view=diff ============================================================================== --- ofbiz/site/dtds/entity-config.xsd (original) +++ ofbiz/site/dtds/entity-config.xsd Tue Sep 25 15:56:23 2007 @@ -24,6 +24,7 @@ <xs:sequence> <xs:element maxOccurs="unbounded" ref="resource-loader"/> <xs:element ref="transaction-factory"/> + <xs:element ref="connection-factory"/> <xs:element maxOccurs="unbounded" ref="delegator"/> <xs:element maxOccurs="unbounded" ref="entity-model-reader"/> <xs:element maxOccurs="unbounded" ref="entity-group-reader"/> @@ -74,6 +75,14 @@ <xs:attributeGroup name="attlist.transaction-manager-jndi"> <xs:attribute type="xs:string" name="jndi-server-name" use="required"/> <xs:attribute type="xs:string" name="jndi-name" use="required"/> + </xs:attributeGroup> + <xs:element name="connection-factory"> + <xs:complexType> + <xs:attributeGroup ref="attlist.connection-factory"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.connection-factory"> + <xs:attribute type="xs:string" name="class" use="required"/> </xs:attributeGroup> <xs:element name="delegator"> <xs:complexType> Modified: ofbiz/site/dtds/service-eca.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/service-eca.xsd?rev=579407&r1=579406&r2=579407&view=diff ============================================================================== --- ofbiz/site/dtds/service-eca.xsd (original) +++ ofbiz/site/dtds/service-eca.xsd Tue Sep 25 15:56:23 2007 @@ -46,8 +46,9 @@ <xs:attribute name="event" use="required"> <xs:simpleType> <xs:restriction base="xs:token"> - <xs:enumeration value="global-commit"/> - <xs:enumeration value="global-rollback"/> + <xs:enumeration value="global-commit"><xs:annotation><xs:documentation>Runs when the transaction the service is running in is successfully committed.</xs:documentation></xs:annotation></xs:enumeration> + <xs:enumeration value="global-commit-post-run"><xs:annotation><xs:documentation>Like global-commit, but gets its context post/after the run of the service and all non-global ECA rules.</xs:documentation></xs:annotation></xs:enumeration> + <xs:enumeration value="global-rollback"><xs:annotation><xs:documentation>Runs when the transaction the service is running in is rolled back.</xs:documentation></xs:annotation></xs:enumeration> <xs:enumeration value="auth"/> <xs:enumeration value="in-validate"/> <xs:enumeration value="out-validate"/> Modified: ofbiz/site/dtds/services.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/services.xsd?rev=579407&r1=579406&r2=579407&view=diff ============================================================================== --- ofbiz/site/dtds/services.xsd (original) +++ ofbiz/site/dtds/services.xsd Tue Sep 25 15:56:23 2007 @@ -101,8 +101,8 @@ </xs:restriction> </xs:simpleType> </xs:attribute> - <xs:attribute type="xs:string" name="transaction-timeout"/> - <xs:attribute type="xs:string" name="max-retry" default="-1"/> + <xs:attribute type="xs:int" name="transaction-timeout" default="0"/> + <xs:attribute type="xs:int" name="max-retry" default="-1"/> <xs:attribute name="debug" default="false"> <xs:simpleType> <xs:restriction base="xs:token"> @@ -121,6 +121,8 @@ </xs:simpleType> </xs:attribute> </xs:attributeGroup> + <xs:attribute type="xs:int" name="semaphore-wait-seconds" default="300"/> + <xs:attribute type="xs:int" name="semaphore-sleep" default="500"/> <xs:element name="notification"> <xs:complexType> <xs:attributeGroup ref="attlist.notification"/> |
Free forum by Nabble | Edit this page |