jboss-client_6_0.xsd 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
  3. xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  4. xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
  5. xmlns:jee="http://java.sun.com/xml/ns/javaee"
  6. targetNamespace="http://www.jboss.com/xml/ns/javaee"
  7. version="6.0"
  8. elementFormDefault="qualified"
  9. >
  10. <xsd:annotation>
  11. <xsd:documentation>
  12. <![CDATA[
  13. This is the XML Schema for the JBoss 6.0 application client deployment descriptor.
  14. The deployment descriptor must be named "META-INF/jboss-client.xml" in
  15. the application client's jar file. All the applicetion client deployment descriptors must indicate
  16. the JBoss schema by using the Java EE namespace:
  17. http://www.jboss.com/xml/ns/javaee
  18. and by indicating the version of the schema by
  19. using the version attribute as shown below:
  20. <jboss-client xmlns="http://www.jboss.com/xml/ns/javaee"
  21. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  22. xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
  23. http://www.jboss.org/j2ee/schema/jboss-client_6_0.xsd"
  24. version="6.0">
  25. ...
  26. </jboss-client>
  27. The instance documents may indicate the published version of
  28. the schema using the xsi:schemaLocation attribute for the
  29. Java EE namespace with the following location:
  30. http://www.jboss.org/j2ee/schema/jboss-client_6_0.xsd
  31. ]]>
  32. </xsd:documentation>
  33. </xsd:annotation>
  34. <xsd:import namespace="http://java.sun.com/xml/ns/javaee" schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_6.xsd"/>
  35. <xsd:include schemaLocation="http://www.jboss.org/j2ee/schema/jboss-common_6_0.xsd"/>
  36. <xsd:element name="jboss-client" type="jboss:jboss-clientType"/>
  37. <xsd:complexType name="jboss-clientType">
  38. <xsd:sequence>
  39. <xsd:element name="module-name" type="xsd:string" minOccurs="0"/>
  40. <xsd:group ref="jboss:descriptionGroup"/>
  41. <xsd:element name="callback-handler" type="xsd:string" minOccurs="0"/>
  42. <xsd:element name="metadata-complete" type="xsd:boolean" minOccurs="0"/>
  43. <xsd:element name="jndi-name" type="xsd:string" minOccurs="0"/>
  44. <xsd:group ref="jboss:jndiEnvironmentRefsGroup"/>
  45. <xsd:element name="message-destinations" type="jboss:message-destinationType" minOccurs="0" maxOccurs="unbounded"/>
  46. <xsd:element name="depends" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  47. </xsd:sequence>
  48. <xsd:attribute name="id" type="xsd:string"/>
  49. <xsd:attribute name="version" type="xsd:string"/>
  50. </xsd:complexType>
  51. </xsd:schema>