123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- ~ JBoss, Home of Professional Open Source.
- ~ Copyright 2012, Red Hat, Inc., and individual contributors
- ~ as indicated by the @author tags. See the copyright.txt file in the
- ~ distribution for a full listing of individual contributors.
- ~
- ~ This 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 software 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 software; if not, write to the Free
- ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- -->
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="urn:jboss:ejb-client:1.1"
- xmlns="urn:jboss:ejb-client:1.1"
- elementFormDefault="unqualified"
- attributeFormDefault="unqualified"
- version="1.1">
- <!-- Root element -->
- <xsd:element name="jboss-ejb-client" type="jboss-ejb-clientType">
- <xsd:annotation>
- <xsd:documentation>
- Root element for a jboss-ejb-client.xml file
- </xsd:documentation>
- </xsd:annotation>
- </xsd:element>
- <xsd:complexType name="jboss-ejb-clientType">
- <xsd:annotation>
- <xsd:documentation>
- The EJB client configurations
- </xsd:documentation>
- </xsd:annotation>
- <xsd:all>
- <xsd:element name="client-context" type="client-contextType">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configurations that will be used to setup an EJB client context for the
- deployment.
- </documentation>
- </annotation>
- </xsd:element>
- </xsd:all>
- </xsd:complexType>
- <xsd:complexType name="client-contextType">
- <xsd:all>
- <xsd:element name="ejb-receivers" type="ejb-receiversType">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures EJB receivers for the client context
- </documentation>
- </annotation>
- </xsd:element>
- <xsd:element name="clusters" type="clustersType">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Cluster configurations applicable for this client context
- </documentation>
- </annotation>
- </xsd:element>
- </xsd:all>
- </xsd:complexType>
- <xsd:complexType name="ejb-receiversType">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="remoting-ejb-receiver" type="remoting-ejb-receiverType">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures a remoting based EJB receiver
- </documentation>
- </annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name="exclude-local-receiver" type="xsd:boolean" use="optional" default="false">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Set to true if the local receiver which gets added to the EJB client context by default, has to be
- excluded from the context
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="local-receiver-pass-by-value" type="xsd:boolean" use="optional" default="true">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Set to false if the local receiver that's available in the EJB client context, should use
- pass-by-reference (instead of pass-by-value) semantics for the EJB invocations.
- </documentation>
- </annotation>
- </xsd:attribute>
- </xsd:complexType>
- <xsd:complexType name="remoting-ejb-receiverType">
- <xsd:attribute name="outbound-connection-ref" type="xsd:string" use="required">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Reference to an outbound connection configured in the remoting subsytem
- </documentation>
- </annotation>
- </xsd:attribute>
- </xsd:complexType>
- <xsd:complexType name="clustersType">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="cluster" type="clusterType">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures a cluster in the client context
- </documentation>
- </annotation>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- <xsd:complexType name="clusterType">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="channel-creation-options" type="channel-creation-optionsType" maxOccurs="1">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures the channel creation options for the nodes in this cluster
- </documentation>
- </annotation>
- </xsd:element>
- <xsd:element name="connection-creation-options" type="connection-creation-optionsType" maxOccurs="1">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures the connection creation options for the nodes in this cluster
- </documentation>
- </annotation>
- </xsd:element>
- <xsd:element name="node" type="clusterNodeType" maxOccurs="unbounded">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures the channel creation options for the nodes in this cluster
- </documentation>
- </annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name="name" type="xsd:string" use="required">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The name of the cluster
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="connect-timeout" type="xsd:long" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The timeout in milliseconds while creating a connection for the nodes in the cluster
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="max-allowed-connected-nodes" type="xsd:long" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The maximum number of nodes to which the connection will be established in the cluster
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="cluster-node-selector" type="xsd:string" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The fully qualified classname of the class which implements the
- org.jboss.ejb.client.ClusterNodeSelector
- interface. The instance of this class will be used for selecting nodes, within the cluster, for
- handling
- invocations
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="username" type="xsd:string" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The username that will be used for authentication during connection creation for nodes in the
- cluster
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="security-realm" type="xsd:string" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The security-realm that will be used for authentication during connection creation for nodes in the
- cluster
- </documentation>
- </annotation>
- </xsd:attribute>
- </xsd:complexType>
- <xsd:complexType name="clusterNodeType">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="channel-creation-options" type="channel-creation-optionsType" maxOccurs="1">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures the channel creation options for the node
- </documentation>
- </annotation>
- </xsd:element>
- <xsd:element name="connection-creation-options" type="connection-creation-optionsType" maxOccurs="1">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- Configures the connection creation options for the node
- </documentation>
- </annotation>
- </xsd:element>
- </xsd:choice>
- <xsd:attribute name="name" type="xsd:string" use="required">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The name of the cluster node
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="connect-timeout" type="xsd:long" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The timeout in milliseconds while creating a connection for the node
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="username" type="xsd:string" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The username that will be used for authentication during connection creation for the node
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="security-realm" type="xsd:string" use="optional">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The security-realm that will be used for authentication during connection creation for the node
- cluster
- </documentation>
- </annotation>
- </xsd:attribute>
- </xsd:complexType>
- <xsd:complexType name="channel-creation-optionsType">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="property" type="propertyType"/>
- </xsd:choice>
- </xsd:complexType>
- <xsd:complexType name="connection-creation-optionsType">
- <xsd:choice minOccurs="0" maxOccurs="unbounded">
- <xsd:element name="property" type="propertyType"/>
- </xsd:choice>
- </xsd:complexType>
- <xsd:complexType name="propertyType">
- <xsd:attribute name="name" type="xsd:string" use="required">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The name of the property. Example org.xnio.Options.SASL_POLICY_NOANONYMOUS
- </documentation>
- </annotation>
- </xsd:attribute>
- <xsd:attribute name="value" type="xsd:string" use="required">
- <annotation xmlns="http://www.w3.org/2001/XMLSchema">
- <documentation>
- The value of the property.
- </documentation>
- </annotation>
- </xsd:attribute>
- </xsd:complexType>
- </xsd:schema>
|