jboss-ejb-client_1_0.xsd 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ JBoss, Home of Professional Open Source.
  4. ~ Copyright 2011, Red Hat, Inc., and individual contributors
  5. ~ as indicated by the @author tags. See the copyright.txt file in the
  6. ~ distribution for a full listing of individual contributors.
  7. ~
  8. ~ This is free software; you can redistribute it and/or modify it
  9. ~ under the terms of the GNU Lesser General Public License as
  10. ~ published by the Free Software Foundation; either version 2.1 of
  11. ~ the License, or (at your option) any later version.
  12. ~
  13. ~ This software is distributed in the hope that it will be useful,
  14. ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. ~ Lesser General Public License for more details.
  17. ~
  18. ~ You should have received a copy of the GNU Lesser General Public
  19. ~ License along with this software; if not, write to the Free
  20. ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  21. ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  22. -->
  23. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  24. targetNamespace="urn:jboss:ejb-client:1.0"
  25. xmlns="urn:jboss:ejb-client:1.0"
  26. elementFormDefault="unqualified"
  27. attributeFormDefault="unqualified"
  28. version="1.0">
  29. <!-- Root element -->
  30. <xsd:element name="jboss-ejb-client" type="jboss-ejb-clientType">
  31. <xsd:annotation>
  32. <xsd:documentation>
  33. Root element for a jboss-ejb-client.xml file
  34. </xsd:documentation>
  35. </xsd:annotation>
  36. </xsd:element>
  37. <xsd:complexType name="jboss-ejb-clientType">
  38. <xsd:annotation>
  39. <xsd:documentation>
  40. The EJB client configurations
  41. </xsd:documentation>
  42. </xsd:annotation>
  43. <xsd:all>
  44. <xsd:element name="client-context" type="client-contextType">
  45. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  46. <documentation>
  47. Configurations that will be used to setup an EJB client context for the
  48. deployment.
  49. </documentation>
  50. </annotation>
  51. </xsd:element>
  52. </xsd:all>
  53. </xsd:complexType>
  54. <xsd:complexType name="client-contextType">
  55. <xsd:all>
  56. <xsd:element name="ejb-receivers" type="ejb-receiversType">
  57. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  58. <documentation>
  59. Configures EJB receivers for the client context
  60. </documentation>
  61. </annotation>
  62. </xsd:element>
  63. </xsd:all>
  64. </xsd:complexType>
  65. <xsd:complexType name="ejb-receiversType">
  66. <xsd:choice minOccurs="0" maxOccurs="unbounded">
  67. <xsd:element name="remoting-ejb-receiver" type="remoting-ejb-receiverType">
  68. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  69. <documentation>
  70. Configures a remoting based EJB receiver
  71. </documentation>
  72. </annotation>
  73. </xsd:element>
  74. </xsd:choice>
  75. <xsd:attribute name="exclude-local-receiver" type="xsd:boolean" use="optional" default="false">
  76. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  77. <documentation>
  78. Set to true if the local receiver which gets added to the EJB client context by default, has to be
  79. excluded from the context
  80. </documentation>
  81. </annotation>
  82. </xsd:attribute>
  83. <xsd:attribute name="local-receiver-pass-by-value" type="xsd:boolean" use="optional" default="true">
  84. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  85. <documentation>
  86. Set to false if the local receiver that's available in the EJB client context, should use
  87. pass-by-reference (instead of pass-by-value) semantics for the EJB invocations.
  88. </documentation>
  89. </annotation>
  90. </xsd:attribute>
  91. </xsd:complexType>
  92. <xsd:complexType name="remoting-ejb-receiverType">
  93. <xsd:attribute name="outbound-connection-ref" type="xsd:string" use="required">
  94. <annotation xmlns="http://www.w3.org/2001/XMLSchema">
  95. <documentation>
  96. Reference to an outbound connection configured in the remoting subsytem
  97. </documentation>
  98. </annotation>
  99. </xsd:attribute>
  100. </xsd:complexType>
  101. </xsd:schema>