You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by da...@apache.org on 2003/11/06 21:01:10 UTC

cvs commit: incubator-geronimo/modules/kernel/src/schema mbean-descriptor.xsd

dain        2003/11/06 12:01:10

  Modified:    modules/kernel/src/schema mbean-descriptor.xsd
  Log:
  Added Endpoint support.
  
  Revision  Changes    Path
  1.2       +14 -2     incubator-geronimo/modules/kernel/src/schema/mbean-descriptor.xsd
  
  Index: mbean-descriptor.xsd
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/schema/mbean-descriptor.xsd,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mbean-descriptor.xsd	22 Oct 2003 02:24:44 -0000	1.1
  +++ mbean-descriptor.xsd	6 Nov 2003 20:01:10 -0000	1.2
  @@ -111,10 +111,19 @@
                   </xs:element>
                   <xs:element name="endpoint" minOccurs="0" maxOccurs="unbounded">
                       <xs:complexType>
  +                        <xs:sequence>
  +                            <xs:element name="peer" minOccurs="0" maxOccurs="unbounded">
  +                                <xs:complexType>
  +                                    <xs:attribute name="pattern" type="objectName" use="required"/>
  +                                </xs:complexType>
  +                            </xs:element>
  +                        </xs:sequence>
                           <xs:attribute name="name" type="xs:string" use="required"/>
                           <xs:attribute name="type" type="className" use="required"/>
  -                        <xs:attribute name="minOccurs" type="xs:int" use="optional" default="0"/>
  -                        <xs:attribute name="maxOccurs" type="maxOccurs" use="optional" default="unbounded"/>
  +                        <xs:attribute name="description" type="xs:string" use="optional"/>
  +                        <xs:attribute name="targetName" type="xs:string" use="optional" default="default"/>
  +                        <xs:attribute name="required" type="xs:boolean" use="optional" default="false"/>
  +                        <xs:attribute name="setterName" type="xs:string" use="optional"/>
                       </xs:complexType>
                   </xs:element>
               </xs:sequence>
  @@ -127,6 +136,9 @@
           </xs:key>
       </xs:element>
       <xs:simpleType name="className">
  +        <xs:restriction base="xs:string"/>
  +    </xs:simpleType>
  +    <xs:simpleType name="objectName">
           <xs:restriction base="xs:string"/>
       </xs:simpleType>
       <xs:simpleType name="impact">