jonas
Blame | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="UTF-8"?>
<!--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- CMI: Cluster Method Invocation
- Copyright (C) 2007,2008 Bull S.A.S.
- Contact: cmi@ow2.org
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- $Id: $
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:lb="http://www.ow2.cmi/info/mapping"
targetNamespace="http://www.ow2.cmi/info/mapping"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified" attributeFormDefault="unqualified"
xml:lang="en"
version="2.0">
<xsd:annotation>
<xsd:documentation>
@(#)cmi-ejb-jar_2_0.xsd 08/10/08
</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="Pool">
<xsd:sequence>
<xsd:element name="max" type="int" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Cluster">
<xsd:sequence>
<xsd:element name="jndiName" type="string" maxOccurs="1" minOccurs="0" />
<xsd:element name="policy" type="string" />
<xsd:element name="strategy" type="string" maxOccurs="1" minOccurs="0" />
<xsd:element name="properties" type="lb:Properties" maxOccurs="1" minOccurs="0" />
<xsd:element name="pool" type="lb:Pool" maxOccurs="1" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="string" use="optional" default="defaultCluster" />
<xsd:attribute name="proxyEnabled" type="boolean" use="optional" default="true" />
</xsd:complexType>
<xsd:complexType name="Properties">
<xsd:sequence>
<xsd:element name="simpleProperty" type="lb:SimpleProperty" maxOccurs="unbounded" minOccurs="0" />
<xsd:element name="arrayProperty" type="lb:ArrayProperty" maxOccurs="unbounded" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SimpleProperty">
<xsd:attribute name="name" type="string" use="required" />
<xsd:attribute name="value" type="string" use="required" />
</xsd:complexType>
<xsd:complexType name="ArrayProperty">
<xsd:sequence>
<xsd:element name="value" type="string" maxOccurs="unbounded" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="string" use="required" />
</xsd:complexType>
<xsd:complexType name="CMI">
<xsd:sequence>
<xsd:element name="clusteredObjects" type="lb:Cluster" maxOccurs="unbounded" minOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="cmi" type="lb:CMI" />
</xsd:schema>