Author: dgolovin
Date: 2009-11-02 03:55:27 -0500 (Mon, 02 Nov 2009)
New Revision: 18381
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-client_5_1.xsd
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-common_5_1.xsd
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-ds_5_0.xsd
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-web_5_1.xsd
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss_5_1.xsd
Log:
https://jira.jboss.org/jira/browse/JBIDE-5030
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-client_5_1.xsd
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-client_5_1.xsd
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-client_5_1.xsd 2009-11-02
08:55:27 UTC (rev 18381)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
+
xmlns:jee="http://java.sun.com/xml/ns/javaee"
+
targetNamespace="http://www.jboss.com/xml/ns/javaee"
+ version="5.1"
+ elementFormDefault="qualified"
+ >
+
+ <xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="javaee_5.xsd"/>
+ <xsd:include schemaLocation="jboss-common_5_1.xsd"/>
+
+ <xsd:element name="jboss-client"
type="jboss:jboss-clientType"/>
+
+ <xsd:complexType name="jboss-clientType">
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="callback-handler" type="xsd:string"
minOccurs="0"/>
+ <xsd:element name="metadata-complete" type="xsd:boolean"
minOccurs="0"/>
+ <xsd:element name="jndi-name" type="xsd:string"
minOccurs="0"/>
+ <xsd:group ref="jboss:jndiEnvironmentRefsGroup"/>
+ <xsd:element name="message-destinations"
type="jboss:message-destinationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="depends" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:string"/>
+ <xsd:attribute name="version" type="xsd:string"/>
+ </xsd:complexType>
+
+</xsd:schema>
Property changes on:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-client_5_1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-common_5_1.xsd
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-common_5_1.xsd
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-common_5_1.xsd 2009-11-02
08:55:27 UTC (rev 18381)
@@ -0,0 +1,545 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.jboss.com/xml/ns/javaee"
+
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="5.0">
+
+ <xsd:annotation>
+ <xsd:documentation> JBoss, Home of Professional Open Source Copyright 2005,
JBoss Inc., and
+ individual contributors as indicated by the @authors tag. See the copyright.txt
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:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ This XML Schema defines types, elements and model groups that common to all
application-specific JBoss schemas.
+ The target namespace is
+
+
http://www.jboss.com/xml/ns/javaee
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation> The following conventions apply to all Java EE deployment
descriptor
+ elements unless indicated otherwise. - In elements that specify a pathname to a
file within
+ the same JAR file, relative filenames (i.e., those not starting with
"/") are considered
+ relative to the root of the JAR file's namespace. Absolute filenames (i.e.,
those starting
+ with "/") also specify names in the root of the JAR file's
namespace. In general, relative
+ names are preferred. The exception is .war files where absolute names are
preferred for
+ consistency with the Servlet API. </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="http://java.sun.com/xml/ns/javaee/javaee_5.xsd"...
+
+ <xsd:group name="descriptionGroup">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="display-name"
type="javaee:display-nameType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="icon" type="javaee:iconType"
minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="jndiEnvironmentRefsGroup">
+ <xsd:sequence>
+ <xsd:element name="env-entry" type="jboss:env-entryType"
minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element name="ejb-ref" type="jboss:ejb-refType"
minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element name="ejb-local-ref"
type="jboss:ejb-local-refType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:group ref="jboss:service-refGroup" />
+ <xsd:element name="resource-ref"
type="jboss:resource-refType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="resource-env-ref"
type="jboss:resource-env-refType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="message-destination-ref"
type="jboss:message-destination-refType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="persistence-context-ref"
type="jboss:persistence-context-refType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="persistence-unit-ref"
type="jboss:persistence-unit-refType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="post-construct"
type="jboss:lifecycle-callbackType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="pre-destroy"
type="jboss:lifecycle-callbackType" minOccurs="0"
maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:complexType name="env-entryType">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="env-entry-name"
type="javaee:jndi-nameType" />
+ <xsd:element name="env-entry-type"
type="javaee:env-entry-type-valuesType" minOccurs="0" />
+ <xsd:element name="env-entry-value"
type="javaee:xsdStringType" minOccurs="0" />
+ <xsd:group ref="jboss:resourceGroup" />
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <xsd:complexType name="injection-targetType">
+ <xsd:sequence>
+ <xsd:element name="injection-target-class"
type="javaee:fully-qualified-classType" />
+ <xsd:element name="injection-target-name"
type="javaee:java-identifierType" />
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="lifecycle-callbackType">
+ <xsd:sequence>
+ <xsd:element name="lifecycle-callback-class"
type="javaee:fully-qualified-classType" minOccurs="0" />
+ <xsd:element name="lifecycle-callback-method"
type="javaee:java-identifierType" />
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="message-destination-refType">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="message-destination-ref-name"
type="javaee:jndi-nameType"/>
+ <xsd:element name="message-destination-type"
type="javaee:message-destination-typeType" minOccurs="0" />
+ <xsd:element name="message-destination-usage"
type="javaee:message-destination-usageType" minOccurs="0" />
+ <xsd:element name="message-destination-link"
type="javaee:message-destination-linkType" minOccurs="0" />
+ <xsd:group ref="jboss:resourceGroup" />
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <!-- Bring persistence-context-refType info jboss namespace -->
+ <xsd:complexType name="persistence-context-refType">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="persistence-context-ref-name"
type="javaee:jndi-nameType" />
+ <xsd:element name="persistence-unit-name"
type="javaee:string" minOccurs="0" />
+ <xsd:element name="persistence-context-type"
type="javaee:persistence-context-typeType" minOccurs="0" />
+ <xsd:element name="persistence-property"
type="javaee:propertyType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:group ref="jboss:resourceGroup" />
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <xsd:complexType name="persistence-unit-refType">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="persistence-unit-ref-name"
type="javaee:jndi-nameType" />
+ <xsd:element name="persistence-unit-name"
type="javaee:string" minOccurs="0" />
+ <xsd:group ref="jboss:resourceGroup" />
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <xsd:complexType name="resource-env-refType">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="resource-env-ref-name"
type="javaee:jndi-nameType" />
+ <xsd:element name="resource-env-ref-type"
type="javaee:fully-qualified-classType" minOccurs="0" />
+ <xsd:group ref="jboss:resourceGroup" />
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <xsd:group name="resourceGroup">
+ <xsd:sequence>
+ <!-- In jboss xml we allow the use of jndi-name instead of mapped-name
-->
+ <xsd:choice minOccurs="0">
+ <xsd:element name="jndi-name"
type="javaee:jndi-nameType"/>
+ <xsd:element name="mapped-name"
type="javaee:xsdStringType"/>
+ </xsd:choice>
+ <xsd:element name="injection-target"
type="jboss:injection-targetType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="ignore-dependency"
type="javaee:emptyType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="service-refGroup">
+ <xsd:sequence>
+ <xsd:element name="service-ref"
type="jboss:service-refType" minOccurs="0"
maxOccurs="unbounded">
+ <xsd:key name="service-ref_handler-name-key">
+ <xsd:selector xpath="javaee:handler" />
+ <xsd:field xpath="javaee:handler-name" />
+ </xsd:key>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:complexType name="jndi-binding-policyType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The jndiBindingPolicyType defines the fully-qualified name of
+ a class that implements the JNDI binding policy.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="jmx-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The jmx-name element allows one to specify the JMX
ObjectName to use for
+ the MBean associated with the ejb-jar module. This must be a unique name and
valid JMX
+ ObjectName string. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="security-domainType">
+ <xsd:annotation>
+ <xsd:documentation> The security-domain element specifies the JNDI name of
the security
+ manager that implements the EJBSecurityManager and RealmMapping for the
domain. When
+ specified at the jboss level it specifies the security domain for all j2ee
components in the
+ deployment unit. One can override the global security-domain at the container
level using
+ the security-domain element at the container-configuration level.
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="security-roleType">
+ <xsd:annotation>
+ <xsd:documentation> The security-role element contains the definition of a
security role.
+ The definition consists of an the security role name and principal name
element(s). </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="description"
+ type="javaee:descriptionType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="role-name"
+ type="javaee:role-nameType"/>
+ <xsd:element name="principal-name"
type="jboss:principal-nameType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="principal-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The principal-name element is the name of the
principal that is mapped
+ to the assembly role-name. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="dependsType">
+ <xsd:annotation>
+ <xsd:documentation> The depends element gives a JMX ObjectName of a
service on which the
+ container or ejb depends. (default) </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="local-jndi-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The JNDI name under with the local interface should be
bound. If it is not
+ provided jboss will assume "jndi-name" =
"beanClass/local" </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="ejb-refType">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-ref element is used to give the jndi-name of
an external ejb
+ reference. In the case of an external ejb reference, you don't provide a
ejb-link element in
+ ejb-jar.xml, but you provide a jndi-name in jboss.xml Used in: entity,
session,
+ message-driven, consumer, and service </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ejb-ref-name"
type="javaee:ejb-ref-nameType" minOccurs="0"/>
+ <xsd:element name="ejb-ref-type"
type="javaee:ejb-ref-typeType" minOccurs="0"/>
+ <xsd:element name="home" type="javaee:homeType"
minOccurs="0"/>
+ <xsd:element name="remote" type="javaee:remoteType"
minOccurs="0"/>
+ <xsd:element name="ejb-link" type="javaee:ejb-linkType"
minOccurs="0"/>
+ <xsd:group ref="jboss:resourceGroup"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+
+ <!--
+ <xsd:complexContent>
+ <xsd:extension base="javaee:ejb-refType">
+ <xsd:sequence>
+ <xsd:element name="jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="ignore-dependency"
type="javaee:emptyType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ -->
+ </xsd:complexType>
+
+ <xsd:complexType name="ejb-local-refType">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-local-ref element is used to give the
jndi-name of an external ejb
+ reference. In the case of an external ejb reference, you don't provide a
ejb-link element in
+ ejb-jar.xml, but you provide a jndi-name in jboss.xml
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ejb-ref-name"
type="javaee:ejb-ref-nameType" minOccurs="0"/>
+ <xsd:element name="ejb-ref-type"
type="javaee:ejb-ref-typeType" minOccurs="0"/>
+ <xsd:element name="local-home"
type="javaee:local-homeType" minOccurs="0"/>
+ <xsd:element name="local" type="javaee:localType"
minOccurs="0"/>
+ <xsd:element name="ejb-link" type="javaee:ejb-linkType"
minOccurs="0"/>
+ <xsd:element name="local-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:group ref="jboss:resourceGroup"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="resource-refType">
+ <xsd:annotation>
+ <xsd:documentation> The resource-ref element gives a mapping between the
"code name" of a
+ resource (res-ref-name, provided by the Bean Developer) and its "xml
name" (resource-name,
+ provided by the Application Assembler). If no resource-ref is provided, jboss
will assume
+ that "xml-name" = "code name" See resource-managers.
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="res-ref-name"
type="javaee:jndi-nameType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation> The res-ref-name element specifies the name of a
resource manager
+ connection factory reference. The name is a JNDI name relative to the
java:comp/env
+ context. The name must be unique within a Deployment File.
</xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+ <xsd:element name="res-type"
type="javaee:fully-qualified-classType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation> The res-type element specifies the type of the
data source. The type
+ is specified by the fully qualified Java language class or interface
expected to be
+ implemented by the data source. </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+ <xsd:element name="res-auth" type="javaee:res-authType"
minOccurs="0"/>
+
+ <xsd:element name="res-sharing-scope"
type="javaee:res-sharing-scopeType" minOccurs="0"/>
+
+ <!-- We redefine part of the resourceGroup here, so we can't ref it
-->
+ <xsd:choice>
+ <xsd:element name="resource-name"
type="javaee:xsdStringType"/>
+ <xsd:element name="jndi-name"
type="javaee:xsdStringType"/>
+ <xsd:element name="mapped-name"
type="javaee:xsdStringType"/>
+ <xsd:element name="res-url"
type="javaee:xsdStringType"/>
+ </xsd:choice>
+
+ <xsd:element name="injection-target"
type="jboss:injection-targetType" minOccurs="0"
maxOccurs="unbounded" />
+
+ <xsd:element name="ignore-dependency"
type="javaee:emptyType" minOccurs="0"/>
+
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="service-ref-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The service-ref-name element gives the ENC relative
name used in the
+ ejb-jar.xml service-ref-name element. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="loader-repositoryType" mixed="true">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The loader-repository specifies the name of the UnifiedLoaderRepository
+ MBean to use for the ear to provide ear level scoping of classes deployed
+ in the ear. It is a unique JMX ObjectName string. It may also specify
+ an arbitrary configuration by including a loader-repository-config element.
+
+Examples:
+
<loader-repository>jboss.test:loader=cts-cmp2v1-sar.ear</loader-repository>
+
+ <loader-repository loaderRepositoryClass='dot.com.LoaderRepository'>
+ dot.com:loader=unique-archive-name
+ <loader-repository-config configParserClass='dot.com.LoaderParser'>
+ java2ParentDelegaton=true
+ </loader-repository-config>
+ </loader-repository>
+ </loader-repository>
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="loader-repository-config"
type="jboss:loader-repository-configType"
+ minOccurs="0" maxOccurs="unbounded"/>
+
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="loaderRepositoryClass"
type="xsd:string"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="loader-repository-configType"
mixed="true">
+ <xsd:annotation>
+ <xsd:documentation> The loader-repository-config element specifies any
arbitrary configuration
+ fragment for use in configuring the loader-repository instance. The actual
content of this
+ element is specific to the loaderRepositoryClass and the code parsing the
element.
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="configParserClass"
type="xsd:string"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="service-refType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Runtime settings for a web service reference. In the simplest case,
+ there is no runtime information required for a service ref. Runtime info
+ is only needed in the following cases :
+
+ * to define the port that should be used to resolve a container-managed port
+ * to define default Stub property settings for Stub objects
+ * to define the URL of a final WSDL document to be used
+
+ Example:
+
+ <service-ref>
+ <service-ref-name>OrganizationService</service-ref-name>
+
<wsdl-override>file:/wsdlRepository/organization-service.wsdl</wsdl-override>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>OrganizationService</service-ref-name>
+ <config-name>Secure Client Config</config-name>
+ <config-file>META-INF/jbossws-client-config.xml</config-file>
+ <handler-chain>META-INF/jbossws-client-handlers.xml</handler-chain>
+ </service-ref>
+
+ <service-ref>
+ <service-ref-name>SecureService</service-ref-name>
+
<service-impl-class>org.jboss.tests.ws.jaxws.webserviceref.SecureEndpointService</service-impl-class>
+
<service-qname>{http://org.jboss.ws/wsref}SecureEndpointService</service-qname>
+ <port-component-ref>
+
<service-endpoint-interface>org.jboss.tests.ws.jaxws.webserviceref.SecureEndpoint</service-endpoint-interface>
+ <port-qname>{http://org.jboss.ws/wsref}SecureEndpointPort</port-qname>
+ <stub-property>
+ <name>javax.xml.ws.security.auth.username</name>
+ <value>kermit</value>
+ </stub-property>
+ <stub-property>
+ <name>javax.xml.ws.security.auth.password</name>
+ <value>thefrog</value>
+ </stub-property>
+ </port-component-ref>
+ </service-ref>
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="service-ref-name"
type="xsd:string"/>
+ <xsd:element name="service-impl-class" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="service-qname" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="config-name" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="config-file" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="handler-chain" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="port-component-ref"
type="jboss:port-component-refType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="wsdl-override" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!--
+ Information for a port within a service-ref.
+
+ Either service-endpoint-interface or wsdl-port or both
+ (service-endpoint-interface and wsdl-port) should be specified.
+
+ If both are specified, wsdl-port represents the
+ port the container should choose for container-managed port selection.
+
+ The same wsdl-port value must not appear in
+ more than one port-component-ref entry within the same service-ref.
+
+ If a particular service-endpoint-interface is using container-managed port
+ selection, it must not appear in more than one port-component-ref entry
+ within the same service-ref.
+ -->
+ <xsd:complexType name="port-component-refType">
+ <xsd:sequence>
+ <xsd:element name="service-endpoint-interface"
type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="port-qname" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="config-name" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="config-file" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="stub-property"
type="jboss:stub-propertyType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="call-property"
type="jboss:call-propertyType" minOccurs="0"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="stub-propertyType">
+ <xsd:sequence>
+ <xsd:element name="prop-name" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="prop-value" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="call-propertyType">
+ <xsd:sequence>
+ <xsd:element name="prop-name" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="prop-value" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="message-destinationType">
+ <xsd:annotation>
+ <xsd:documentation> The message-destination element is used to configure
the jndi-name for a
+ message-destination in ejb-jar.xml Used in: assembly-descriptor
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="message-destination-name"
type="javaee:xsdStringType"/>
+ <xsd:choice>
+ <xsd:element name="jndi-name"
type="javaee:xsdStringType"/>
+ <xsd:element name="mapped-name"
type="javaee:xsdStringType"/>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="webservice-descriptionType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Runtime information about a web service.
+ wsdl-publish-location is optionally used to specify
+ where the final wsdl and any dependent files should be stored. This
location
+ resides on the file system from which deployment is initiated.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="webservice-description-name"
type="xsd:string"/>
+ <xsd:element name="config-name" type="xsd:string"
minOccurs="0"/>
+ <xsd:element name="config-file" type="xsd:string"
minOccurs="0"/>
+ <xsd:element name="wsdl-publish-location"
type="xsd:string" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+</xsd:schema>
Property changes on:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-common_5_1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-ds_5_0.xsd
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-ds_5_0.xsd
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-ds_5_0.xsd 2009-11-02
08:55:27 UTC (rev 18381)
@@ -0,0 +1,1014 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id: jboss-ds_5_0.xsd 87129 2009-04-10 14:04:57Z ispringer $
+-->
+<!-- The datasources element is the root of the jdbc datasource configuration -->
+<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.jboss.com/xml/ns/javaee"
+
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="5.0">
+ <xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="javaee_5.xsd"/>
+ <xsd:include schemaLocation="jboss-common_5_1.xsd"/>
+
+ <xsd:group name="connectionPoolGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ connection pool group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="min-pool-size"
+ type="jboss:min-pool-sizeType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="max-pool-size"
+ type="jboss:max-pool-sizeType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="blocking-timeout-millis"
+ type="jboss:blocking-timeout-millisType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="background-validation"
+ type="jboss:background-validationType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="background-validation-millis"
+ type="jboss:background-validation-millisType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="idle-timeout-minutes"
+ type="jboss:idle-timeout-minutesType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="allocation-retry"
+ type="jboss:allocation-retryType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="allocation-retry-wait-millis"
+ type="jboss:allocation-retry-wait-millisType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="datasourceGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ dataSource group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="new-connection-sql"
+ type="jboss:new-connection-sqlType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="check-valid-connection-sql"
+ type="jboss:check-valid-connection-sqlType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="valid-connection-checker-class-name"
+ type="jboss:valid-connection-checker-class-nameType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="exception-sorter-class-name"
+ type="jboss:exception-sorter-class-nameType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="stale-connection-checker-class-name"
+ type="jboss:stale-connection-checker-class-nameType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="track-statements"
+ type="jboss:track-statementsType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="urlGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ URL group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="url-delimiter"
+ type="jboss:url-delimiterType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="url-selector-strategy-class-name"
+ type="jboss:url-selector-strategy-class-nameType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:group>
+ <xsd:group name="userGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ user password group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="user-name"
+ type="jboss:user-nameType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="password"
+ type="jboss:passwordType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:group>
+ <xsd:group name="additionGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ addition group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="prepared-statement-cache-size"
+ type="jboss:prepared-statement-cache-sizeType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="share-prepared-statements"
+ type="jboss:share-prepared-statementsType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="set-tx-query-timeout"
+ type="jboss:set-tx-query-timeoutType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="query-timeout"
+ type="jboss:query-timeoutType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="use-try-lock"
+ type="jboss:use-try-lockType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="connectionFactoryGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ connection factory group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="rar-name"
+ type="jboss:rar-nameType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="connection-definition"
+ type="jboss:connection-definitionType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="config-property"
+ type="jboss:config-propertyType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="optionGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ option group
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="metadata"
+ type="jboss:metadataType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="type-mapping"
+ type="jboss:type-mappingType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="depends"
+ type="jboss:dependsType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:group>
+
+ <xsd:group name="securityGroup">
+ <xsd:annotation>
+ <xsd:documentation>
+ Security type
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:choice>
+ <xsd:element name="application-managed-security"
+ type="javaee:emptyType" minOccurs="0">
+ </xsd:element>
+ <xsd:element name="security-domain"
+ type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="security-domain-and-application"
+ type="jboss:security-domain-and-applicationType"
minOccurs="0"/>
+ </xsd:choice>
+ </xsd:group>
+
+
+ <!--
+ The tx-connection-factory element is used to configure generic resource
+ adapters supporting transactions
+ -->
+ <xsd:complexType name="tx-connection-factory">
+ <xsd:sequence>
+ <xsd:element name="jndi-name"
+ type="jboss:jndi-nameType"/>
+ <xsd:choice>
+ <xsd:element name="local-transaction"
+ type="javaee:emptyType"/>
+ <xsd:element name="xa-transaction"
+ type="javaee:emptyType"/>
+ </xsd:choice>
+ <xsd:element name="track-connection-by-tx"
+ type="javaee:emptyType" minOccurs="0"
maxOccurs="1"/>
+
+ <xsd:group ref="jboss:connectionFactoryGroup"/>
+ <xsd:group ref="jboss:securityGroup"/>
+ <xsd:group ref="jboss:connectionPoolGroup"/>
+
+ <xsd:element name="no-tx-separate-pools"
+ type="javaee:emptyType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="prefill"
+ type="jboss:prefillType" minOccurs="0"
maxOccurs="1"/>
+
+ <xsd:element name="xa-resource-timeout"
+ type="jboss:xa-resource-timeoutType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:optionGroup"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <!--
+ The no-tx-connection-factory element is used to configure generic resource
+ adapters that do not support transactions
+ -->
+ <xsd:complexType name="no-tx-connection-factory">
+ <xsd:sequence>
+ <xsd:element name="jndi-name"
+ type="jboss:jndi-nameType"/>
+ <xsd:group ref="jboss:connectionFactoryGroup"/>
+ <xsd:group ref="jboss:securityGroup"/>
+ <xsd:group ref="jboss:connectionPoolGroup"/>
+ <xsd:element name="prefill"
+ type="jboss:prefillType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:optionGroup"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <!-- Specify a jca-jdbc non-XADatasource (local) wrapper, using no transactions
-->
+ <xsd:complexType name="no-tx-datasource">
+ <xsd:sequence>
+ <xsd:element name="jndi-name"
+ type="jboss:jndi-nameType"/>
+ <xsd:element name="use-java-context"
+ type="jboss:use-java-contextType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="connection-url"
+ type="jboss:connection-urlType"/>
+ <xsd:group ref="jboss:urlGroup"/>
+
+ <xsd:element name="driver-class"
+ type="jboss:driver-classType"/>
+ <xsd:element name="connection-property"
+ type="jboss:connection-propertyType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:group ref="jboss:userGroup"/>
+ <xsd:group ref="jboss:securityGroup"/>
+ <xsd:group ref="jboss:connectionPoolGroup"/>
+
+ <xsd:element name="validate-on-match"
+ type="jboss:validate-on-matchType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:datasourceGroup"/>
+ <xsd:element name="prefill"
+ type="jboss:prefillType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:additionGroup"/>
+
+ <xsd:group ref="jboss:optionGroup"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <!--
+ Specify a jca-jdbc non-XADatasource (local) wrapper, using local
+ transactions
+ -->
+ <xsd:complexType name="local-tx-datasource">
+ <xsd:sequence>
+ <xsd:element name="jndi-name"
+ type="jboss:jndi-nameType"/>
+ <xsd:element name="use-java-context"
+ type="jboss:use-java-contextType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="connection-url"
+ type="jboss:connection-urlType"/>
+ <xsd:group ref="jboss:urlGroup"/>
+
+ <xsd:element name="driver-class"
+ type="jboss:driver-classType"/>
+ <xsd:element name="transaction-isolation"
+ type="jboss:transaction-isolationType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="connection-property"
+ type="jboss:connection-propertyType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:group ref="jboss:userGroup"/>
+ <xsd:group ref="jboss:securityGroup"/>
+ <xsd:group ref="jboss:connectionPoolGroup"/>
+
+ <xsd:element name="validate-on-match"
+ type="jboss:validate-on-matchType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="no-tx-separate-pools"
+ type="javaee:emptyType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:datasourceGroup"/>
+ <xsd:element name="prefill"
+ type="jboss:prefillType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:additionGroup"/>
+
+ <xsd:group ref="jboss:optionGroup"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <!-- Specify a jca-jdbc XADatasource wrapper -->
+ <xsd:complexType name="xa-datasource">
+ <xsd:sequence>
+ <xsd:element name="jndi-name"
+ type="jboss:jndi-nameType"/>
+ <xsd:element name="use-java-context"
+ type="jboss:use-java-contextType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="track-connection-by-tx"
+ type="javaee:emptyType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="interleaving"
+ type="javaee:emptyType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="xa-datasource-class"
+ type="jboss:xa-datasource-classType"/>
+ <xsd:element name="xa-datasource-property"
+ type="jboss:xa-datasource-propertyType" minOccurs="0"
maxOccurs="unbounded"/>
+
+ <xsd:element name="url-property"
+ type="jboss:url-propertyType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:urlGroup"/>
+
+ <xsd:element name="isSameRM-override-value"
+ type="jboss:isSameRM-override-valueType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="transaction-isolation"
+ type="jboss:transaction-isolationType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:userGroup"/>
+
+ <xsd:group ref="jboss:securityGroup"/>
+ <xsd:group ref="jboss:connectionPoolGroup"/>
+
+ <xsd:element name="validate-on-match"
+ type="jboss:validate-on-matchType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="no-tx-separate-pools"
+ type="javaee:emptyType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="xa-resource-timeout"
+ type="jboss:xa-resource-timeoutType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:datasourceGroup"/>
+ <xsd:element name="prefill"
+ type="jboss:prefillType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:group ref="jboss:additionGroup"/>
+
+ <xsd:group ref="jboss:optionGroup"/>
+
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:element name="datasources">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="loader-repository"
+ type="jboss:loader-repositoryType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="local-tx-datasource"
type="jboss:local-tx-datasource"/>
+ <xsd:element name="xa-datasource"
type="jboss:xa-datasource"/>
+ <xsd:element name="no-tx-datasource"
type="jboss:no-tx-datasource"/>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!-- The connection-factories element is the root of the generic jca adaptor section
-->
+ <xsd:element name="connection-factories">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="loader-repository"
+ type="jboss:loader-repositoryType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:choice minOccurs="0" maxOccurs="unbounded">
+ <xsd:element name="tx-connection-factory"
type="jboss:tx-connection-factory"/>
+ <xsd:element name="no-tx-connection-factory"
type="jboss:no-tx-connection-factory"/>
+ </xsd:choice>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <!--
+ The JNDI name under which the DataSource wrapper will be bound. Note that
+ this name is relative to the "java:/" prefix unless use-java-context is
false.
+ Ex:
+ <jndi-name>DefaultDS</jndi-name>
+ -->
+ <xsd:complexType name="jndi-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Setting this to false will bind the DataSource into global jndi
+ Ex:
+ <use-java-context>false</use-java-context>
+ -->
+ <xsd:complexType name="use-java-contextType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The JDBC driver connection URL string
+ Ex:
+ <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url>
+ -->
+ <xsd:complexType name="connection-urlType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The fully qualifed name of the JDBC driver class
+ Ex:
+ <driver-class>org.hsqldb.jdbcDriver</driver-class>
+ -->
+ <xsd:complexType name="driver-classType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Set java.sql.Connection transaction isolation level to use.
+ The constants defined in the interface Connection are the possible transaction
+ isolation levels and include:
+ TRANSACTION_READ_UNCOMMITTED
+ TRANSACTION_READ_COMMITTED
+ TRANSACTION_REPEATABLE_READ
+ TRANSACTION_SERIALIZABLE
+ TRANSACTION_NONE
+
+ Ex:
+
<transaction-isolation>TRANSACTION_SERIALIZABLE</transaction-isoation>
+ -->
+ <xsd:complexType name="transaction-isolationType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string">
+ <xsd:enumeration value="TRANSACTION_READ_UNCOMMITTED"/>
+ <xsd:enumeration value="TRANSACTION_READ_COMMITTED"/>
+ <xsd:enumeration value="TRANSACTION_REPEATABLE_READ"/>
+ <xsd:enumeration value="TRANSACTION_SERIALIZABLE"/>
+ <xsd:enumeration value="TRANSACTION_NONE"/>
+ </xsd:restriction>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Specify the default username used when creating a new connection.
+ Ex:
+ <user-name>sa</user-name>
+ -->
+ <xsd:complexType name="user-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Specify the default password used when creating a new connection.
+ Ex:
+ <password>sa-pass</password>
+ -->
+ <xsd:complexType name="passwordType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Indicates that app supplied parameters (such as from getConnection(user, pw))
+ are used to distinguish connections in the pool.
+ Ex:
+ <application-managed-security/>
+ -->
+
+ <!--
+ Indicates Subject (from security domain) are used to distinguish connections in the
pool.
+ The content of the security-domain is the name of the JAAS security manager that will
handle
+ authentication. This name correlates to the JAAS login-config.xml descriptor
+ application-policy/name attribute.
+
+ Ex:
+ <security-domain>HsqlDbRealm</security-domain>
+
+ <xsd:complexType name="security-domainType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ -->
+
+ <!--
+ Indicates that either app supplied parameters (such as from
+ getConnection(user, pw)) or Subject (from security domain) are used to
+ distinguish connections in the pool. The content of the
+ security-domain is the name of the JAAS security manager that will handle
+ authentication. This name correlates to the JAAS login-config.xml descriptor
+ application-policy/name attribute.
+
+ Ex:
+
<security-domain-and-application>HsqlDbRealm</security-domain-and-application>
+ -->
+ <xsd:complexType name="security-domain-and-applicationType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Whether to use separete pools for connection retrieved in a transaction
+ and those retieved outside a transaction
+ e.g.
+ <no-tx-separate-pools/>
+ -->
+
+ <!--
+ The min-pool-size element indicates the minimum number of connections a
+ pool should hold. These are not created until a Subject is known from a
+ request for a connection. This default to 0.
+
+ Ex:
+ <min-pool-size>1</min-pool-size>
+ -->
+ <xsd:complexType name="min-pool-sizeType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The max-pool-size element indicates the maximum number of connections for a
+ pool. No more than MaxSize connections will be created in each sub-pool. This
+ defaults to 20.
+ -->
+ <xsd:complexType name="max-pool-sizeType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The blocking-timeout-millis element indicates the maximum time in
+ milliseconds to block while waiting for a connection before throwing an
+ exception. Note that this blocks only while waiting for a permit for a
+ connection, and will never throw an exception if creating a new connection
+ takes an inordinately long time. The default is 30000 (30 seconds).
+ -->
+ <xsd:complexType name="blocking-timeout-millisType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The idle-timeout-minutes element indicates the maximum time in
+ minutes a connection may be idle before being closed. The actual maximum time
+ depends also on the IdleRemover scan time, which is 1/2 the smallest
+ idle-timeout-minutes of any pool.
+ -->
+ <xsd:complexType name="idle-timeout-minutesType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The allocation retry element indicates the number of times that allocating
+ a connection should be tried before throwing an exception. The default is 0.
+ -->
+ <xsd:complexType name="allocation-retryType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The allocation retry wait millis element indicates the time in
+ milliseconds to wait between retrying to allocate a connection.
+ The default is 5000 (5 seconds).
+ -->
+ <xsd:complexType name="allocation-retry-wait-millisType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The validate-on-match element indicates whether or not connection level validation
should be done when a connection factory attempts to
+ match a managed connection for a given set. This is typically exclusive to the use of
background validation
+ -->
+ <xsd:complexType name="validate-on-matchType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ An element to specify that connections should be validated on a background thread
versus being validated
+ prior to use
+ -->
+ <xsd:complexType name="background-validationType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The background-validation-millis element specifies the amount of time, in
milliseconds, that background validation
+ will run.
+ -->
+ <xsd:complexType name="background-validation-millisType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ An element to specify that all intermediate end(suspend) and
+ start(resume) calls. Also, all work on one tx will go through one
+ connection.
+ A side effect of this (currently at least) is that a connection will only
+ be usable by one tx until the tx commits.
+ Ex:
+ <track-connection-by-tx/>
+ DEPRECATED: this element is now deprecated (it is assumed to present by default, also
see <interleaving/>)
+ -->
+
+ <!--
+ An element to enable interleaving for XA connection factories
+ Ex:
+ <interleaving/>
+ -->
+
+
+ <!--
+ The fully qualifed name of the javax.sql.XADataSource implementation class.
+ Ex:
+
<xa-datasource-class>com.informix.jdbcx.IfxXADataSource</xa-datasource-class>
+ -->
+ <xsd:complexType name="xa-datasource-classType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Specify a property to assign to the XADataSource implementation class.
+ Each property is identified by the name attribute and the property value is
+ given by the xa-datasource-property element content. The property is mapped
+ onto the XADataSource implementation by looking for a JavaBeans style
+ getter method for the property name. If found, the value of the property is
+ set using the JavaBeans setter with the element text translated to the true
+ property type using the java.beans.PropertyEditor for the type.
+
+ Ex:
+ <xa-datasource-property
name="IfxWAITTIME">10</xa-datasource-property>
+ <xa-datasource-property
name="IfxIFXHOST">myhost.mydomain.com</xa-datasource-property>
+ <xa-datasource-property
name="PortNumber">1557</xa-datasource-property>
+ <xa-datasource-property
name="DatabaseName">mydb</xa-datasource-property>
+ <xa-datasource-property
name="ServerName">myserver</xa-datasource-property>
+ -->
+ <xsd:complexType name="xa-datasource-propertyType"
mixed="true">
+ <xsd:attribute name="name" use="required"/>
+ </xsd:complexType>
+
+ <!--
+ The xa-datasource-property name attribute specifies the name of the
+ XADataSource attribute the xa-datasource-property element content provides
+ the value of.
+ -->
+ <!--
+ The isSameRM-override-value element allows one to unconditionally set
+ whether the javax.transaction.xa.XAResource.isSameRM(XAResource) returns
+ true or false.
+
+ Ex:
+ <isSameRM-override-value>true</isSameRM-override-value>
+ -->
+ <xsd:complexType name="isSameRM-override-valueType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The connection-property element allows you to pass in arbitrary connection
+ properties to the Driver.connect(url, props) method. Each connection-property
+ specifies a string name/value pair with the property name coming from the
+ name attribute and the value coming from the element content.
+
+ Ex:
+ <connection-property
name="char.encoding">UTF-8</connection-property>
+ -->
+ <xsd:complexType name="connection-propertyType"
mixed="true">
+ <xsd:attribute name="name" use="required"/>
+ </xsd:complexType>
+
+ <!--
+ The connection-property name attribute gives the name of the connection
+ property.
+ -->
+ <!--
+ Specify an SQL statement to execute whenever a connection is added to
+ the connection pool.
+ -->
+ <xsd:complexType name="new-connection-sqlType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Specify an SQL statement to check validity of a pool connection. This
+ may be called when managed connection is taken from pool for use.
+ -->
+ <xsd:complexType name="check-valid-connection-sqlType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ An org.jboss.resource.adapter.jdbc.ValidConnectionChecker that provides
+ a SQLException isValidConnection(Connection e) method to validate is a connection
+ is valid. An exception means the connection is destroyed.
+ This overrides the check-valid-connection-sql when present.
+
+ Ex:
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker
+ </exception-sorter-class-name>
+ -->
+ <xsd:complexType name="valid-connection-checker-class-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ An org.jboss.resource.adapter.jdbc.ExceptionSorter that provides
+ a boolean isExceptionFatal(SQLException e) method to validate is an exception
+ should be broadcast to all javax.resource.spi.ConnectionEventListener as
+ a connectionErrorOccurred message.
+
+ Ex:
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
+ </exception-sorter-class-name>
+ <exception-sorter-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.SybaseExceptionSorter
+ </exception-sorter-class-name>
+ -->
+ <xsd:complexType name="exception-sorter-class-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ An org.jboss.resource.adapter.jdbc.StaleConnectionChecker that provides
+ a boolean isStaleConnection(SQLException e) method which if it it returns
+ true will wrap the exception in an
+ org.jboss.resource.adapter.jdbc.StaleConnectionException
+ which is a subclass of SQLException.
+
+ Ex:
+ <stale-connection-checker-class-name>
+ org.jboss.resource.adapter.jdbc.vendor.OracleStaleConnectionChecker
+ </stale-connection-checker-class-name>
+ -->
+ <xsd:complexType name="stale-connection-checker-class-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Whether to check for unclosed statements when a
+ connection is returned to the pool and result sets are
+ closed when a statement is closed/return to the prepared
+ statement cache.
+ valid values are:
+ false - do not track statements and results
+ true - track statements and result sets and warn when they are not closed
+ nowarn - track statements but do no warn about them being unclosed (the default)
+ e.g.
+ <track-statements>nowarn</track-statements>
+ -->
+ <xsd:complexType name="track-statementsType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Whether to attempt to prefill the connection pool. Empty element denotes a false
value.
+ e.g.
+ <prefill>true</prefill>
+ -->
+ <xsd:complexType name="prefillType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Whether fail a connection allocation on the first connection if it is invalid (true)
+ or keep trying until the pool is exhausted of all potential connections (false)
+
+ default false.
+ e.g.
+ <use-fast-fail>true</use-fast-fail>
+ -->
+ <xsd:complexType name="use-fast-failType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- The number of prepared statements per connection in an LRU cache -->
+ <xsd:complexType name="prepared-statement-cache-sizeType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ whether to share prepare statements, i.e. whether asking for same
+ statement twice without closing uses the same underlying prepared statement.
+
+ The default is false.
+ e.g.
+ <share-prepared-statements/>
+ -->
+ <xsd:complexType name="share-prepared-statementsType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ whether to set the query timeout based on the time remaining until transaction
timeout,
+ any configured query timeout will be used if there is no transaction.
+
+ The default is false.
+ e.g.
+ <set-tx-query-timeout/>
+ -->
+ <xsd:complexType name="set-tx-query-timeoutType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Any configured query timeout in seconds
+
+ The default is no timeout
+ e.g. 5 minutes
+ <query-timeout>300</query-timeout>
+ -->
+ <xsd:complexType name="query-timeoutType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Any configured timeout for internal locks on the resource adapter objects in
milli-seconds
+ restriction
+ The default is a 60 second timeout
+ e.g. 5 minutes
+ <use-try-lock>300000</use-try-lock>
+ -->
+ <xsd:complexType name="use-try-lockType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The rar deployment to associate with the connection manager mbean.
+ e.g. jms-ra.rar or myapplication.ear#my.rar for nested rars
+ -->
+ <xsd:complexType name="rar-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The connection definition inside the rar deployment uniquely identified by the
+ connection factory interface, e.g. javax.sql.DataSource
+ -->
+ <xsd:complexType name="connection-definitionType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ Passed to XAResource.setTransactionTimeout()
+
+ Default is zero which does not invoke the setter
+ e.g. 5 minutes
+ <xa-resource-timeout>300</xa-resource-timeout>
+ -->
+ <xsd:complexType name="xa-resource-timeoutType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!--
+ The xa-transaction element is used to mark that the tx-connection-factory
+ supports XA transactions.
+ -->
+
+ <!--
+ The local-transaction element is used to mark that the tx-connection-factory
+ supports local transactions.
+ -->
+
+ <!-- The config-property specifies a mannaged connection factory property. -->
+ <xsd:complexType name="config-propertyType">
+ <xsd:simpleContent>
+ <xsd:extension base="javaee:string">
+ <xsd:attribute name="name" type="xsd:string"
use="required"/>
+ <xsd:attribute name="type" type="xsd:string"
use="required"/>
+ </xsd:extension>
+ </xsd:simpleContent>
+
+ </xsd:complexType>
+
+ <!--
+ The config-property name attribute gives the name of the connection
+ factory property.
+ -->
+ <!--
+ The config-property type attribute gives the name of the connection
+ factory property.
+ -->
+ <!-- The type mapping from conf/standardjboss.xml -->
+ <xsd:complexType name="type-mappingType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- For backwards compatibility use type-mapping -->
+ <xsd:complexType name="metadataType">
+ <xsd:sequence>
+ <xsd:element name="type-mapping"
+ type="jboss:type-mappingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+
+ <!-- Specifies the delimiter for URLs in connection-url for HA datasources -->
+ <xsd:complexType name="url-delimiterType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- A class that implements org.jboss.resource.adapter.jdbc.URLSelectorStrategy
-->
+ <xsd:complexType name="url-selector-strategy-class-nameType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- For HA XA datasources, specifies the name of an xa-datasource-property that
contains a list of URLs -->
+ <xsd:complexType name="url-propertyType">
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+</xsd:schema>
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-ds_5_0.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-web_5_1.xsd
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-web_5_1.xsd
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-web_5_1.xsd 2009-11-02
08:55:27 UTC (rev 18381)
@@ -0,0 +1,649 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.jboss.com/xml/ns/javaee"
+
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="5.1">
+
+ <xsd:annotation>
+ <xsd:documentation> JBoss, Home of Professional Open Source Copyright 2005,
JBoss Inc., and
+ individual contributors as indicated by the @authors tag. See the copyright.txt
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:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ This is the XML Schema for the JBoss 5.1 web application deployment descriptor.
+ The deployment descriptor must be named "META-INF/jboss-web.xml" in
+ the WAR file. All JBoss Web deployment descriptors must indicate
+ the JBoss schema by using the Java EE namespace:
+
+
http://java.sun.com/xml/ns/javaee
+
+ and by indicating the version of the schema using the version element as shown below:
+
+ <jboss-web
xmlns="http://www.jboss.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd"
+ version="5.1">
+
+ ...
+
+ </jboss-web>
+
+ Instance documents may indicate the published version of
+ the schema using the xsi:schemaLocation attribute for the
+ Java EE namespace with the following location:
+
+
http://www.jboss.org/j2ee/schema/jboss-web_5_1.xsd
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation> The following conventions apply to all Java EE deployment
descriptor
+ elements unless indicated otherwise. - In elements that specify a pathname to a
file within
+ the same JAR file, relative filenames (i.e., those not starting with
"/") are considered
+ relative to the root of the JAR file's namespace. Absolute filenames (i.e.,
those starting
+ with "/") also specify names in the root of the JAR file's
namespace. In general, relative
+ names are preferred. The exception is .war files where absolute names are
preferred for
+ consistency with the Servlet API. </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="javaee_5.xsd"/>
+ <xsd:include schemaLocation="jboss-common_5_1.xsd"/>
+
+ <xsd:element name="jboss-web" type="jboss:jboss-webType">
+ <xsd:annotation>
+ <xsd:documentation> This is the root element of jboss-web deployment
descriptor.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+ <xsd:complexType name="jboss-webType">
+ <xsd:annotation>
+ <xsd:documentation> The jboss-web element is the root element of
jboss-web.xml file. It contains
+ all the information used by jboss but not described in the web.xml file. All
of it is optional.
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="class-loading"
type="jboss:class-loadingType" minOccurs="0"/>
+ <xsd:element name="security-domain"
type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="jacc-star-role-allow"
type="jboss:jacc-star-role-allowType" minOccurs="0"/>
+ <xsd:element name="context-root"
type="jboss:context-rootType" minOccurs="0"/>
+ <xsd:element name="virtual-host"
type="jboss:virtual-hostType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="use-session-cookies"
type="jboss:use-session-cookiesType" minOccurs="0"/>
+ <xsd:element name="replication-config"
type="jboss:replication-configType" minOccurs="0"/>
+ <xsd:group ref="jboss:jndiEnvironmentRefsGroup"/>
+ <xsd:element name="security-role"
type="jboss:security-roleType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="message-destination"
type="jboss:message-destinationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="webservice-description"
type="jboss:webservice-descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="depends" type="jboss:dependsType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="servlet" type="jboss:servletType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="max-active-sessions"
type="jboss:max-active-sessionsType" minOccurs="0"/>
+ <xsd:element name="passivation-config"
type="jboss:passivation-configType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+ <xsd:complexType name="class-loadingType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The class-loading element allows one to override the default class
+ loading behavior of the web container.
+ Examples:
+ <class-loading java2ClassLoadingCompliance='false'/>
+
+ <class-loading java2ClassLoadingCompliance='false'>
+ <loader-repository
loaderRepositoryClass='dot.com.LoaderRepository'>
+ ...
+ </loader-repository>
+ </class-loading>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="loader-repository"
type="jboss:loader-repositoryType" minOccurs="0"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="java2ClassLoadingCompliance"
type="xsd:boolean" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ The java2ClassLoadingCompliance attribute indicates if the normal Java2
+ parent first class loading model should be used over the servlet 2.3 web
+ container first model.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+
+ <xsd:complexType name="jacc-star-role-allowType">
+ <xsd:annotation>
+ <xsd:documentation>
+ (JBAS-1824) The jacc-star-role-allow element specifies whether the
+ jacc permission generating agent in the web layer needs to generate a
+ WebResourcePermission(url,null) permission such that the jacc provider can
+ make a decision as to bypass authorization or not.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:generic-booleanType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="context-rootType">
+ <xsd:annotation>
+ <xsd:documentation>
+ The context-root element specifies the context root of a web
+ application. This is normally specified at the ear level using the standard
+ J2EE application.xml descriptor, but it may be given here for standalone
wars.
+ This should not override the application.xml level specification.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="virtual-hostType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The virtual-host element allows one to specify which virtual host the war
+ should be deployed to. Example, to specify that a war should be deployed to
the
+
www.jboss-store.org virtual host add the following virtual-host element:
+ <virtual-host>www.jboss-store.org</virtual-host>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="use-session-cookiesType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The use-session-cookies element controls whether this context uses session
cookies or not.
+
+ Example:
+ <use-session-cookies>true</use-session-cookies>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:generic-booleanType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="replication-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ HTTP Session clustering configuration (optional tags)
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="cache-name"
type="jboss:cache-nameType" minOccurs="0"/>
+ <xsd:element name="replication-trigger"
type="jboss:replication-triggerType" minOccurs="0"/>
+ <xsd:element name="replication-granularity"
type="jboss:replication-granularityType" minOccurs="0"/>
+ <xsd:element name="replication-field-batch-mode"
type="jboss:replication-field-batch-modeType" minOccurs="0"/>
+ <xsd:element name="use-jk" type="jboss:use-jkType"
minOccurs="0"/>
+ <xsd:element name="max-unreplicated-interval"
type="jboss:max-unreplicated-intervalType" minOccurs="0"/>
+ <xsd:element name="snapshot-mode"
type="jboss:snapshot-modeType" minOccurs="0"/>
+ <xsd:element name="snapshot-interval"
type="jboss:snapshot-intervalType" minOccurs="0"/>
+ <xsd:element name="session-notification-policy"
type="jboss:session-notification-policyType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="cache-nameType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Name of the JBoss Cache or PojoCache configuration that
+ should be used for storing distributable sessions and replicating them around
the
+ cluster.
+
+ Default value if not explicitly set is the overall web container default
+ as set in the deployers/jbossweb.deployer service.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="replication-triggerType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Determines when the container should consider that a
session
+ must be replicated across the cluster.
+ Possible values are:
+ 1 - "ACCESS"
+ 2 - "SET_AND_GET"
+ 3 - "SET_AND_NON_PRIMITIVE_GET" (default value)
+ 4 - "SET"
+
+ The rationale for this setting is that after a mutable object stored as a
session attribute
+ is accessed from the session, in the absence of a setAttribute call the
container has no
+ clear way to know if the object (and hence the session state) has been
modified.
+
+ In all cases, calling setAttribute marks the session as needing replication.
+
+ ACCESS - merely accessing the session marks the session as dirty.
+
+ SET_AND_GET is conservative but not optimal (performance-wise): it will
always replicate the
+ session even if its content has not been modified but simply accessed.
+
+ SET_AND_NON_PRIMITIVE_GET is conservative but will only replicate if a
non-primitive Object
+ has been accessed (i.e. the object is not of a well-known immutable JDK type
such as Integer,
+ Long, String, etc.) This is the default value.
+
+ SET assumes that the developer will explicitly call setAttribute on the
session
+ if it needs to be replicated. This setting prevents unnecessary replication,
but requires very
+ good coding practices to ensure setAttribute is always called whenever an
attribute value
+ is modified.
+
+ Examples:
+ <replication-trigger>SET_AND_GET</replication-trigger>
+ or
+
<replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+ or
+ <replication-trigger>SET</replication-trigger>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string">
+ <xsd:enumeration value="ACCESS"/>
+ <xsd:enumeration value="SET_AND_GET"/>
+ <xsd:enumeration value="SET_AND_NON_PRIMITIVE_GET"/>
+ <xsd:enumeration value="SET"/>
+ </xsd:restriction>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="replication-granularityType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Determines the session replication granularity level.
+ Possible values are:
+ 1 - "SESSION" (default)
+ 2 - "ATTRIBUTE"
+ 3 - "FIELD"
+
+ The first option indicates that replication is done per session instance,
i.e. when
+ the session is considered modified, the whole session object will be
serialized
+ and replicated. This is the preferred policy when the sessions are generally
small.
+
+ The second option indicates that replication is performed only for the the
dirty
+ attributes in the session, plus some session data, like lastAccessTime. For
sessions
+ carrying large amounts of data, parts of which are infrequently accessed,
+ this option can increase replication performance.
+
+ The third option is useful if the classes stored in the session have been
bytecode
+ enhanced for use by JBoss PojoCache. If they have been, the session
management layer
+ will detect field level changes within objects stored to the session, and
will
+ replicate those changes.
+
+ Examples:
+ <replication-granularity>SESSION</replication-granularity>
+ or
+
<replication-granularity>ATTRIBUTE</replication-granularity>
+ or
+ <replication-granularity>FIELD</replication-granularity>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string">
+ <xsd:enumeration value="SESSION"/>
+ <xsd:enumeration value="ATTRIBUTE"/>
+ <xsd:enumeration value="FIELD"/>
+ </xsd:restriction>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="replication-field-batch-modeType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Determine whether to batch the replication when the granularity level is set
to FIELD.
+ Default is true.
+
+ If this is set to 'true', that means we will replicate the pojo
changes only during the
+ http request is finished. To use this, the JBossCacheAop transaction manager
class will
+ need to be configured as BatchModeTransactionManager such that a user can
still have
+ UserTransaction inside the http request. However, note that the cache will
not particiapte
+ in the UserTransaction in this case.
+
+ If you want cache to participate in the UserTransaction, you can configure
the transaction
+ manager class to JBossTransactionManager and set this option to
'false'. The result is for
+ those session attribute changes that are not under transaction will replicate
instantaneously,
+ while those particiate under transaction will replicate only when the
transaction is
+ completed.
+
+ Examples:
+
<replication-field-batch-mode>TRUE</replication-field-batch-mode>
+ or
+
<replication-field-batch-mode>FALSE</replication-field-batch-mode>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:generic-booleanType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="use-jkType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Whether the container should assume mod_jk is used for
+ load balancing for this webapp. If set to 'true', the container will
examine
+ the session id associated with every request and replace the JvmRoute portion
of
+ the session id if it detects a failover. In addition, for each host you will
+ need to set a unique JvmRoute inside the server.xml file, e.g.,
+
+ <Engine name="jboss.web" jvmRoute="Node1"
defaultHost="localhost">
+ ...
+ </Engine>
+
+ Default value if not explicitly set is the overall web container default
+ as set in the deployers/jbossweb.deployer service. By default that is set
+ to "false".
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:generic-booleanType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="max-unreplicated-intervalType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Determines the maximum interval between requests, in
+ seconds, after which a request will trigger replication of the session's
+ timestamp and other metadata regardless of whether the request has otherwise
+ made the session dirty. Such replication ensures that other nodes in the
+ cluster are aware of the most recent value for the session's timestamp
+ and won't incorrectly expire an unreplicated session upon failover. It
also
+ results in correct values for HttpSession.getLastAccessedTime() calls
+ following failover.
+
+ The cost of this metadata replication depends on the configured
+ replication-granularity. With <code>SESSION</code>, the
session's
+ attribute map is replicated along with the metadata, so it can be fairly
+ costly. With other granularities, the metadata object is replicated
+ separately from the attributes and only contains a String, and a few longs,
+ ints and booleans.
+
+ A value of 0 means the metadata will be replicated whenever the session is
+ accessed. A value of -1 means the metadata will be replicated only if some
+ other activity during the request (e.g. modifying an attribute) has
+ resulted in other replication work involving the session. A positive value
+ greater than the HttpSession.getMaxInactiveInterval() value will be treated
+ as a likely misconfiguration and converted to 0; i.e. replicate the
+ metadata on every request.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:restriction base="xsd:integer"/>
+ </xsd:simpleType>
+
+ <xsd:complexType name="snapshot-modeType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Defines when the sessions are replicated to the other
nodes.
+ The typical value, "instant", replicates changes to the other nodes
at the end
+ of requests, using the request processing thread to perform the replication.
+ In this case, the "snapshot-interval" property is ignored.
+ With "interval" mode, a background process is created that runs
every
+ "snapshot-interval" milliseconds, checking for modified sessions
and replicating
+ them.
+
+ Default value if not explicitly set is the overall web container default
+ as set in the deployers/jbossweb.deployer service. By default that is set
+ to "instant".
+
+ Note that this property has no effect if replication-granularity
+ is set to FIELD. If it is FIELD, "instant" mode will be used.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string">
+ <xsd:enumeration value="INSTANT"/>
+ <xsd:enumeration value="FIELD"/>
+ </xsd:restriction>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="snapshot-intervalType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Defines how often (in milliseconds) the background
+ process that replicates modified sessions should be started for this
+ web app. Only meaningful if snapshot-mode is set to "interval".
+
+ Default value if not explicitly set is the overall web container default
+ as set in the deployers/jbossweb.deployer service. By default that is set
+ to "1000".
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:restriction base="xsd:integer"/>
+ </xsd:simpleType>
+
+ <xsd:complexType name="session-notification-policyType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Fully qualified class name of the implementation of the
+
org.jboss.web.tomcat.service.session.notification.ClusteredSessionNotificationPolicy
+ interface that should be used to govern whether servlet specification
+ notifications should be emitted to any registered HttpSessionListener,
+ HttpSessionAttributeListener and/or HttpSessionBindingListener.
+ Event notifications that may make sense in a non-clustered environment
+ may or may not make sense in a clustered environment; configuring an
+ appropriate ClusteredSessionNotificationPolicy gives the application
+ author fine-grained control over what notifications are issued.
+
+ Default value if not explicitly set is the
+
org.jboss.web.tomcat.service.session.notification.IgnoreUndeployLegacyClusteredSessionNotificationPolicy.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:complexType name="servletType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ The servlet element specifies servlet specific bindings. Currently this
+ is only the run-as principal identity.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="servlet-name"
type="javaee:string"/>
+ <xsd:element name="run-as-principal"
type="javaee:role-nameType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ The run-as-principal element specifies whether a specific run-as
identity is
+ to be used. If there is a run-as role defined for a servlet, there can
also
+ be a run-as-principal defined here. If you don't define a run-as
principal
+ the callee will see ctx.getUserPrincipal() == 'anonymous'
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:simpleType name="max-active-sessionsType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Determines the max number of active sessions allowed.
+ If the number of sessions managed by the the session manager exceeds this
value and
+ passivation is enabled, the excess will be passivated based on the configured
+ passivation-min-idle-time.
+ If after passivation is completed (or if passivation is disabled), the number
of
+ active sessions still exceeds this limit, attempts to create new sessions
+ will be rejected.
+ If set to -1, means no limit
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:restriction base="xsd:integer"/>
+ </xsd:simpleType>
+
+ <xsd:complexType name="passivation-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: HTTP Session passivation configuration.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="use-session-passivation"
type="jboss:use-session-passivationType" minOccurs="0"/>
+ <xsd:element name="passivation-min-idle-time"
type="jboss:passivation-idle-timeType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Determines the minimum time (in seconds) that a session must have been
inactive
+ before the container will consider passivating it in order to reduce
the
+ active session count below max-active-sessions.
+ A value of -1 (the default) disables passivating sessions before
+ passivation-max-idle-time. Neither a value of -1 nor a high
+ value are recommended if max-active-sessions is set
+
+ Example:
+
<passivation-min-idle-time>30</passivation-min-idle-time> (seconds)
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="passivation-max-idle-time"
type="jboss:passivation-idle-timeType" minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Determines the maximum time (in seconds) that a session can be inactive
before
+ the container should attempt to passivate it to save memory.
Passivation of such
+ sessions will take place regardless of whether the active session count
exceeds
+ max-active-sessions.
+ Should be less than the web.xml session-timeout setting.
+ A value of -1 disables passivation based on maximum inactivity.
+
+ Example:
+
<passivation-max-idle-time>300</passivation-max-idle-time> (seconds)
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="use-session-passivationType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Clustering only: Determines whether the web application should use session
passivation or not
+
+ Examples:
+ <use-session-passivation>true</use-session-passivation>
+ or
+ <use-session-passivation>false</use-session-passivation>
(default value)
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:generic-booleanType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <xsd:simpleType name="passivation-idle-timeType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ Determines the time (in seconds) that a session can be inactive before
+ the container should attempt to passivate it.
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:restriction base="xsd:integer"/>
+ </xsd:simpleType>
+
+</xsd:schema>
\ No newline at end of file
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss-web_5_1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss_5_1.xsd
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss_5_1.xsd
(rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss_5_1.xsd 2009-11-02 08:55:27
UTC (rev 18381)
@@ -0,0 +1,1429 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema
xmlns="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.jboss.com/xml/ns/javaee"
+
xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+
xmlns:jboss="http://www.jboss.com/xml/ns/javaee"
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="5.1">
+
+ <xsd:annotation>
+ <xsd:documentation> JBoss, Home of Professional Open Source Copyright 2005,
JBoss Inc., and
+ individual contributors as indicated by the @authors tag. See the copyright.txt
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:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+
+ This is the XML Schema for the JBoss 5.1 EJB3.x deployment descriptor.
+ The deployment descriptor must be named "META-INF/jboss.xml" in
+ the EJB's jar file. All EJB deployment descriptors must indicate
+ the JBoss schema by using the Java EE namespace:
+
+
http://www.jboss.com/xml/ns/javaee
+
+ and by indicating the version of the schema by
+ using the version attribute as shown below:
+
+ <jboss
xmlns="http://www.jboss.com/xml/ns/javaee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
+
http://www.jboss.org/j2ee/schema/jboss_5_1.xsd"
+ version="5.1">
+ ...
+ </jboss>
+
+ The instance documents may indicate the published version of
+ the schema using the xsi:schemaLocation attribute for the
+ Java EE namespace with the following location:
+
+
http://www.jboss.org/j2ee/schema/jboss_5_1.xsd
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation> The following conventions apply to all Java EE deployment
descriptor
+ elements unless indicated otherwise. - In elements that specify a pathname to a
file within
+ the same JAR file, relative filenames (i.e., those not starting with
"/") are considered
+ relative to the root of the JAR file's namespace. Absolute filenames (i.e.,
those starting
+ with "/") also specify names in the root of the JAR file's
namespace. In general, relative
+ names are preferred. The exception is .war files where absolute names are
preferred for
+ consistency with the Servlet API. </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:import
namespace="http://java.sun.com/xml/ns/javaee"
schemaLocation="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd&qu...
+ <xsd:include
schemaLocation="http://www.jboss.org/j2ee/schema/jboss-common_5_1.xsd "/>
+
+
+ <!-- **************************************************** -->
+
+ <xsd:element name="jboss" type="jboss:jbossType">
+ <xsd:annotation>
+ <xsd:documentation> This is the root of the ejb-jar deployment
descriptor.
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:key name="ejb-name-key">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-name element contains the name of an
enterprise bean. The name
+ must be unique within the jboss file. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:enterprise-beans/*"/>
+ <xsd:field xpath="javaee:ejb-name"/>
+ </xsd:key>
+ </xsd:element>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="jbossType">
+ <xsd:annotation>
+ <xsd:documentation> The jboss element is the root element of the jboss.xml
file. It contains
+ all the information used by jboss but not described in the ejb-jar.xml file.
All of it is
+ optional. 1- the application assembler can define custom container
configurations for the
+ beans. Standard configurations are provided in standardjboss.xml 2- the
deployer can
+ override the jndi names under which the beans are deployed 3- the deployer
can specify
+ runtime jndi names for resource managers. </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="loader-repository"
type="jboss:loader-repositoryType" minOccurs="0"/>
+ <xsd:element name="jmx-name" type="jboss:jmx-nameType"
minOccurs="0"/>
+ <xsd:element name="security-domain"
type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="missing-method-permissions-excluded-mode"
type="jboss:missing-method-permissions-excluded-modeType"
minOccurs="0"/>
+ <xsd:element name="unauthenticated-principal"
type="jboss:unauthenticated-principalType" minOccurs="0"/>
+ <xsd:element name="jndi-binding-policy"
type="jboss:jndi-binding-policyType" minOccurs="0"/>
+ <xsd:element name="jacc-context-id"
type="jboss:jacc-context-idType" minOccurs="0"/>
+ <xsd:element name="webservices"
type="jboss:webservicesType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="enterprise-beans"
type="jboss:enterprise-beansType" minOccurs="0"/>
+ <xsd:element name="assembly-descriptor"
type="jboss:assembly-descriptorType" minOccurs="0"/>
+ <xsd:element name="resource-managers"
type="jboss:resource-managersType" minOccurs="0"/>
+ </xsd:sequence>
+
+ <xsd:attribute name="version"
type="javaee:dewey-versionType" fixed="5.1">
+ <xsd:annotation>
+ <xsd:documentation> The version specifies the version of the schema.
</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+
+ <xsd:attribute name="metadata-complete"
type="xsd:boolean"/>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="assembly-descriptorType">
+ <xsd:annotation>
+ <xsd:documentation> The assembly-descriptor element contains
application-assembly information.
+ The definition of security roles allows you to map assembly roles to one or
more principals.
+ For example, you may define a run-as principal in the security-identity
element and include
+ that principal in one or more security-role(s) in the assembly descriptor.
When called with
+ a run-as role, the callee will see all those roles in ctx.isCallerInRole(...)
Used in: jboss
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="security-role"
type="jboss:security-roleType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="message-destination"
type="jboss:message-destinationType"
+ minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="jacc-context-idType">
+ <xsd:annotation>
+ <xsd:documentation></xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="missing-method-permissions-excluded-modeType">
+ <xsd:annotation>
+ <xsd:documentation> The missing-method-permissions-excluded-mode
determines the treatment
+ of missing method-permission mappings in the ejb-jar descriptor. The ejb 2.1
+ spec states: "It is possible that some methods are not assigned to any
security
+ roles nor contained in the exclude-list element. In this case, it is the
+ responsibility of the Deployer to assign method permissions for all of the
+ unspecified methods, either by assigning them to security roles, or by
marking
+ them as unchecked." The missing-method-permissions-excluded-mode is a
boolean
+ that allows the deployer to globally indicate that all methods without a
+ method-permission element should be treated as excluded(= true and the
default),
+ or that methods without a method-permission element should be treated as
+ unchecked(= false) </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="unauthenticated-principalType">
+ <xsd:annotation>
+ <xsd:documentation> The unauthenticated-principal element specifies the
name of the principal
+ that will be returned by the EJBContext.getCallerPrincipal() method if there
is no
+ authenticated user. This Principal has no roles or privaledges to call any
other beans.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="enterprise-beansType">
+ <xsd:annotation>
+ <xsd:documentation> The enterprise-beans element contains additional
information about the
+ beans. These informations, such as jndi names, resource managers and
container
+ configurations, are specific to jboss and not described in ejb-jar.xml. jboss
will provide a
+ standard behaviour if no enterprise-beans element is found, see
container-configurations,
+ jndi-name and resource-managers for defaults. Used in: jboss
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="session"
type="jboss:session-beanType">
+ <xsd:unique name="session-ejb-local-ref-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-ref-name element contains the name of
an EJB reference. The
+ EJB reference is an entry in the component's environment and is
relative to the
+ java:comp/env context. The name must be unique within the component.
It is recommended
+ that name be prefixed with "ejb/".
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:ejb-local-ref"/>
+ <xsd:field xpath="javaee:ejb-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="session-ejb-ref-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-ref-name element contains the name of
an EJB reference. The
+ EJB reference is an entry in the component's environment and is
relative to the
+ java:comp/env context. The name must be unique within the component.
It is recommended
+ that name is prefixed with "ejb/".
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:ejb-ref"/>
+ <xsd:field xpath="javaee:ejb-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="session-resource-env-ref-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The resource-env-ref-name element specifies
the name of a resource
+ environment reference; its value is the environment entry name used
in the component
+ code. The name is a JNDI name relative to the java:comp/env context
and must be unique
+ within an component. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:resource-env-ref"/>
+ <xsd:field xpath="javaee:resource-env-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique
name="session-message-destination-ref-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The message-destination-ref-name element
specifies the name of a
+ message destination reference; its value is the message destination
reference name
+ used in the component code. The name is a JNDI name relative to the
java:comp/env
+ context and must be unique within an component.
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:message-destination-ref"/>
+ <xsd:field xpath="javaee:message-destination-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="session-res-ref-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The res-ref-name element specifies the name
of a resource manager
+ connection factory reference. The name is a JNDI name relative to
the java:comp/env
+ context. The name must be unique within an component.
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:resource-ref"/>
+ <xsd:field xpath="javaee:res-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="session-env-entry-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The env-entry-name element contains the name
of a component's
+ environment entry. The name is a JNDI name relative to the
java:comp/env context. The
+ name must be unique within an component. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:env-entry"/>
+ <xsd:field xpath="javaee:env-entry-name"/>
+ </xsd:unique>
+ </xsd:element>
+
+ <xsd:element name="message-driven"
type="jboss:message-driven-beanType">
+ <xsd:unique name="messaged-ejb-local-ref-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-ref-name element contains the name of
an EJB reference. The
+ EJB reference is an entry in the component's environment and is
relative to the
+ java:comp/env context. The name must be unique within the component.
It is recommended
+ that name be prefixed with "ejb/".
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:ejb-local-ref"/>
+ <xsd:field xpath="javaee:ejb-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="messaged-ejb-ref-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The ejb-ref-name element contains the name of
an EJB reference. The
+ EJB reference is an entry in the component's environment and is
relative to the
+ java:comp/env context. The name must be unique within the component.
It is recommended
+ that name is prefixed with "ejb/".
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:ejb-ref"/>
+ <xsd:field xpath="javaee:ejb-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="messaged-resource-env-ref-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The resource-env-ref-name element specifies
the name of a resource
+ environment reference; its value is the environment entry name used
in the component
+ code. The name is a JNDI name relative to the java:comp/env context
and must be unique
+ within an component. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:resource-env-ref"/>
+ <xsd:field xpath="javaee:resource-env-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique
name="messaged-message-destination-ref-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The message-destination-ref-name element
specifies the name of a
+ message destination reference; its value is the message destination
reference name
+ used in the component code. The name is a JNDI name relative to the
java:comp/env
+ context and must be unique within an component.
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:message-destination-ref"/>
+ <xsd:field xpath="javaee:message-destination-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="messaged-res-ref-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The res-ref-name element specifies the name
of a resource manager
+ connection factory reference. The name is a JNDI name relative to
the java:comp/env
+ context. The name must be unique within an component.
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:resource-ref"/>
+ <xsd:field xpath="javaee:res-ref-name"/>
+ </xsd:unique>
+
+ <xsd:unique name="messaged-env-entry-name-uniqueness">
+ <xsd:annotation>
+ <xsd:documentation> The env-entry-name element contains the name
of a component's
+ environment entry. The name is a JNDI name relative to the
java:comp/env context. The
+ name must be unique within an component. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:selector xpath="javaee:env-entry"/>
+ <xsd:field xpath="javaee:env-entry-name"/>
+ </xsd:unique>
+ </xsd:element>
+ <xsd:element name="service"
type="jboss:service-beanType"> </xsd:element>
+ <xsd:element name="consumer"
type="jboss:consumer-beanType"> </xsd:element>
+ <!-- For generic ejb -->
+ <xsd:element name="ejb"
type="jboss:generic-beanType"/>
+ </xsd:choice>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="message-driven-beanType">
+ <xsd:annotation>
+ <xsd:documentation> The message-driven element holds information specific
to jboss and not
+ declared in ejb-jar.xml about a message-driven bean, such as container
configuration and
+ resources. The bean should already be declared in ejb-jar.xml, with the same
ejb-name.
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="ejb-name"
type="javaee:ejb-nameType"/>
+ <xsd:element name="activation-config"
type="jboss:activation-configType" minOccurs="0"/>
+ <xsd:element name="destination-jndi-name"
type="jboss:destination-jndi-nameType" minOccurs="0"/>
+ <xsd:element name="mdb-user" type="jboss:mdb-userType"
minOccurs="0"/>
+ <xsd:element name="mdb-passwd"
type="jboss:mdb-passwdType" minOccurs="0"/>
+ <xsd:element name="mdb-client-id"
type="jboss:mdb-client-idType" minOccurs="0"/>
+ <xsd:element name="mdb-subscription-id"
type="jboss:mdb-subscription-idType" minOccurs="0"/>
+ <xsd:element name="resource-adapter-name"
type="jboss:resource-adapter-nameType" minOccurs="0"/>
+
+ <xsd:element name="ejb-ref" type="jboss:ejb-refType"
minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="ejb-local-ref"
type="jboss:ejb-local-refType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="service-ref"
type="jboss:service-refType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="resource-ref"
type="jboss:resource-refType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="resource-env-ref"
type="jboss:resource-env-refType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="message-destination-ref"
type="jboss:message-destination-refType"
+ minOccurs="0" maxOccurs="unbounded"/>
+
+ <xsd:element name="security-identity"
type="jboss:security-identityType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="security-domain"
type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="method-attributes"
type="jboss:method-attributesType" minOccurs="0"/>
+ <xsd:element name="depends" type="jboss:dependsType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="ejb-timeout-identity"
type="jboss:security-identityType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="annotation"
type="jboss:annotationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ignore-dependency"
type="jboss:ignore-dependencyType" minOccurs="0"/>
+ <xsd:element name="aop-domain-name"
type="jboss:aop-domain-nameType" minOccurs="0"/>
+ <xsd:element name="pool-config"
type="jboss:pool-configType" minOccurs="0"/>
+ <xsd:element name="jndi-ref" type="jboss:jndi-refType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="create-destination" type="xsd:boolean"
minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="annotationType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The annotationType is used to add annotations to a bean class,
+ method, or field.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
+ type="javaee:descriptionType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="annotation-class"
+ type="jboss:annotation-classType"/>
+ <xsd:element name="annotation-implementation-class"
+ type="jboss:annotation-classType"/>
+ <xsd:element name="injection-target"
type="jboss:injection-targetType" minOccurs="0"/>
+ <xsd:element name="property"
type="jboss:annotation-propertyType" minOccurs="0"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="annotation-propertyType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ Used to set property values for annotations
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
+ type="javaee:descriptionType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="property-name"
+ type="javaee:string"/>
+ <xsd:element name="property-value"
+ type="javaee:string"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="annotation-classType">
+ <xsd:annotation>
+ <xsd:documentation>
+ The class name of the annotation to be added to the bean.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:fully-qualified-classType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="activation-configType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The activation-configType defines information about the
+ default configuration properties of the message-driven bean
+ in its operational environment. This may include information
+ about message acknowledgement, message selector, expected
+ destination type, etc.
+
+ The configuration information is expressed in terms of
+ name/value configuration properties.
+
+ The properties that are recognized for a particular
+ message-driven bean are determined by the messaging type.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
+ type="javaee:descriptionType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="activation-config-property"
+ type="jboss:activation-config-propertyType"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="activation-config-propertyType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The activation-config-propertyType contains a name/value
+ configuration property pair for a message-driven bean.
+
+ The properties that are recognized for a particular
+ message-driven bean are determined by the messaging type.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="activation-config-property-name"
+ type="javaee:xsdStringType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The activation-config-property-name element contains
+ the name for an activation configuration property of
+ a message-driven bean.
+
+ For JMS message-driven beans, the following property
+ names are recognized: acknowledgeMode,
+ messageSelector, destinationType, subscriptionDurability
+
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="activation-config-property-value"
+ type="javaee:xsdStringType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The activation-config-property-value element
+ contains the value for an activation configuration
+ property of a message-driven bean.
+
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="destination-jndi-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The queue/topic jndi name from which we receive
messages
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="mdb-userType">
+ <xsd:annotation>
+ <xsd:documentation> The optional user for the jms connection that delivers
messages
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="mdb-passwdType">
+ <xsd:annotation>
+ <xsd:documentation> The optional password for the jms connection that
delivers messages
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="mdb-client-idType">
+ <xsd:annotation>
+ <xsd:documentation> The optional client-id for the jms connection that
delivers messages
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="mdb-subscription-idType">
+ <xsd:annotation>
+ <xsd:documentation> The subscription name for topic delivery
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="resource-adapter-nameType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The name of the rar used in JCA 1.5 message inflow
+e.g.
+ <resource-adapter-name>jms-ra.rar</resource-adapter-name>
+or for embedded rars
+ <resource-adapter-name>myapp.ear#myconnector.rar</resource-adapter-name>
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="methodType">
+ <xsd:annotation>
+ <xsd:documentation> The method element is used to specify attributes for
one method or all
+ those matching a pattern startingstring*. </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="method-name"
type="javaee:method-nameType"/>
+ <xsd:element name="read-only" type="xsd:boolean"
minOccurs="0"/>
+ <xsd:element name="idempotent" type="xsd:boolean"
minOccurs="0"/>
+ <xsd:element name="transaction-timeout"
type="jboss:transaction-timeoutType" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="transaction-timeoutType">
+ <xsd:annotation>
+ <xsd:documentation> The transaction timeout in seconds (overriding the
default timeout). This
+ will only work for Required (where the method starts the transaction) and
RequiresNew. The
+ special value of 0 (zero) uses the default timeout configured on
+ jboss:service=TransactionManager NOTE: any subsequent use of RequiresNew that
is not
+ explicitly overridden will use this value. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="security-identityType">
+ <xsd:annotation>
+ <xsd:documentation> The security-identity element specifies whether a
specific run-as identity
+ is to be used. If there is a run-as role defined for an enterprise bean,
there can also be a
+ run-as-principal define here. If you don't define a run-as principal the
callee will see
+ ctx.getCallerPrincipal() == 'anonymous' Used in: entity,
message-driven, session
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <!-- ejb-jar_3_0 -->
+ <xsd:element name="description"
type="javaee:descriptionType"
+ minOccurs="0" maxOccurs="unbounded" />
+ <xsd:choice minOccurs="0">
+ <xsd:element name="use-caller-identity"
+ type="javaee:emptyType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The use-caller-identity element specifies that the
+ caller's security identity be used as the security
+ identity for the execution of the enterprise bean's
+ methods.
+
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="run-as" type="jboss:run-asType"
/>
+ </xsd:choice>
+ <!-- jboss -->
+ <xsd:element name="run-as-principal"
type="javaee:role-nameType"
+ minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="consumer-beanType">
+ <xsd:annotation>
+ <xsd:documentation> The consumer element holds all of the information
specific about a
+ consumer bean which is a JBoss proprietary extension to EJB3 for sending JMS
messages via
+ standard Java interfaces. Used in: enterprise-beans
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="ejb-name"
type="javaee:ejb-nameType"/>
+ <xsd:element name="ejb-class"
type="javaee:ejb-classType"/>
+ <xsd:element name="message-destination"
type="jboss:consumer-message-destinationType"/>
+ <xsd:element name="message-destination-type"
type="javaee:message-destination-typeType"/>
+ <xsd:element name="producer" type="jboss:producerType"
maxOccurs="unbounded"/>
+ <xsd:element name="local-producer"
type="jboss:producerType" maxOccurs="unbounded"/>
+ <xsd:element name="current-message"
type="jboss:method-attributesType"/>
+ <xsd:element name="message-properties"
type="jboss:message-propertiesType" maxOccurs="unbounded"/>
+ <xsd:element name="ejb-ref" type="jboss:ejb-refType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="ejb-local-ref"
type="jboss:ejb-local-refType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="security-identity"
type="jboss:security-identityType" minOccurs="0"/>
+ <xsd:element name="resource-ref"
type="jboss:resource-refType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="resource-env-ref"
type="jboss:resource-env-refType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="message-destination-ref"
type="jboss:message-destination-refType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="security-domain"
type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="method-attributes"
type="jboss:method-attributesType" minOccurs="0"/>
+ <xsd:element name="depends" type="jboss:dependsType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="annotation"
type="jboss:annotationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ignore-dependency"
type="jboss:ignore-dependencyType" minOccurs="0"/>
+ <xsd:element name="aop-domain-name"
type="jboss:aop-domain-nameType" minOccurs="0"/>
+ <xsd:element name="pool-config"
type="jboss:pool-configType" minOccurs="0"/>
+ <xsd:element name="jndi-ref" type="jboss:jndi-refType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="activation-config"
type="jboss:activation-configType" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="consumer-message-destinationType">
+ <xsd:annotation>
+ <xsd:documentation> The jndi binding of the message destination
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="service-beanType">
+ <xsd:annotation>
+ <xsd:documentation> The service element holds all of the information
specific about a service
+ bean which is a JBoss proprietary extension to EJB3 creating multithreaded,
singleton
+ services. Service beans are the EJB3 analogy for JMX MBeans.
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="ejb-name"
type="javaee:ejb-nameType"/>
+ <xsd:element name="mapped-name"
type="javaee:xsdStringType" minOccurs="0"/>
+ <xsd:element name="business-local"
type="javaee:fully-qualified-classType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="business-remote"
type="javaee:fully-qualified-classType" minOccurs="0"
maxOccurs="unbounded" />
+ <!-- TODO: service-endpoint? -->
+ <xsd:element name="ejb-class" type="javaee:ejb-classType"
minOccurs="0"/>
+ <!-- Is a service bean really a session bean with a session-type? -->
+ <!-- no remove-method -->
+ <!-- TODO: transaction-type -->
+ <!-- TODO: around-invoke -->
+ <xsd:group ref="jboss:jndiEnvironmentRefsGroup"/>
+ <!-- no post-activate -->
+ <!-- no pre-passivate -->
+ <!-- TODO: security-role-ref -->
+ <xsd:element name="security-identity"
type="jboss:security-identityType" minOccurs="0"/>
+
+ <!-- JBoss extensions -->
+ <xsd:element name="object-name" type="jboss:jmx-nameType"
minOccurs="0"/>
+ <xsd:element name="management"
type="jboss:managementType" minOccurs="0"/>
+ <xsd:element name="xmbean" type="jboss:xmbeanType"
minOccurs="0"/>
+ <xsd:element name="local-binding"
type="jboss:local-bindingType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="remote-binding"
type="jboss:remote-bindingType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="jndi-name" type="javaee:jndi-nameType"
minOccurs="0"/>
+ <xsd:element name="home-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="local-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="jndi-binding-policy"
type="jboss:jndi-binding-policyType" minOccurs="0"/>
+ <xsd:element name="clustered" type="jboss:clusteredType"
minOccurs="0"/>
+ <xsd:element name="cluster-config"
type="jboss:cluster-configType" minOccurs="0"/>
+ <xsd:element name="security-domain"
type="javaee:xsdStringType" minOccurs="0"/>
+ <xsd:element name="method-attributes"
type="jboss:method-attributesType" minOccurs="0"/>
+ <xsd:element name="depends" type="javaee:xsdStringType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="annotation"
type="jboss:annotationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ignore-dependency"
type="jboss:ignore-dependencyType" minOccurs="0"/>
+ <xsd:element name="aop-domain-name"
type="jboss:aop-domain-nameType" minOccurs="0"/>
+ <xsd:element name="pool-config"
type="jboss:pool-configType" minOccurs="0"/>
+ <xsd:element name="concurrent"
type="jboss:concurrentType" minOccurs="0"/>
+ <xsd:element name="jndi-ref" type="jboss:jndi-refType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="port-component"
type="jboss:port-componentType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="ejb-timeout-identity"
type="jboss:security-identityType" minOccurs="0"
maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="managementType">
+ <xsd:annotation>
+ <xsd:documentation> The fully qualified class name for the JMX Management
interface
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="xmbeanType">
+ <xsd:annotation>
+ <xsd:documentation> The resource URL for the xmbean metadata
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="producerType">
+ <xsd:annotation>
+ <xsd:documentation> The producer element holds all of the information
specific about a
+ producer interface for a consumer bean Used in: consumer
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="class"
type="javaee:fully-qualified-classType"/>
+ <xsd:element name="connection-factory"
type="javaee:xsdStringType" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- ****************************************************
+ not bound in metadata api
+ <xsd:complexType name="current-messageType">
+ <xsd:annotation>
+ <xsd:documentation> Element for defining the method used as the injection
point for the
+ current JMS message in a consumer bean Used in: consumer
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="method" type="jboss:methodType"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+ -->
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="message-propertiesType">
+ <xsd:annotation>
+ <xsd:documentation> Element for defining JMS message properties (e.g.
persistence, priority)
+ for a consumer bean Used in: consumer </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="class" type="javaee:xsdStringType"
minOccurs="0"/>
+ <xsd:element name="method" type="jboss:methodType"/>
+ <xsd:element name="delivery" type="javaee:xsdStringType"
minOccurs="0"/>
+ <xsd:element name="priority" type="javaee:xsdIntegerType"
minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="session-beanType">
+ <xsd:annotation>
+ <xsd:documentation> The session element holds information specific to
jboss and not declared
+ in ejb-jar.xml about a session bean, such as jndi name, container
configuration, and
+ resource managers. (see tags for details) The bean should already be declared
in
+ ejb-jar.xml, with the same ejb-name. Used in: enterprise-beans
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="ejb-name"
type="javaee:ejb-nameType"/>
+ <xsd:element name="mapped-name"
type="javaee:xsdStringType" minOccurs="0"/>
+ <xsd:group ref="jboss:jndiEnvironmentRefsGroup"/>
+ <xsd:element name="security-identity"
type="jboss:security-identityType" minOccurs="0"/>
+ <xsd:element name="local-binding"
type="jboss:local-bindingType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="remote-binding"
type="jboss:remote-bindingType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="business-local" type="javaee:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="business-remote" type="javaee:string"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="jndi-name" type="javaee:jndi-nameType"
minOccurs="0"/>
+ <xsd:element name="home-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="local-jndi-name"
type="jboss:local-jndi-nameType" minOccurs="0"/>
+ <xsd:element name="local-home-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="jndi-binding-policy"
type="jboss:jndi-binding-policyType" minOccurs="0"/>
+ <xsd:element name="clustered" type="jboss:clusteredType"
minOccurs="0"/>
+ <xsd:element name="cluster-config"
type="jboss:cluster-configType" minOccurs="0"/>
+ <xsd:element name="security-domain"
type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="method-attributes"
type="jboss:method-attributesType" minOccurs="0"/>
+ <xsd:element name="depends" type="jboss:dependsType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="annotation"
type="jboss:annotationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ignore-dependency"
type="jboss:ignore-dependencyType" minOccurs="0"/>
+ <xsd:element name="aop-domain-name"
type="jboss:aop-domain-nameType" minOccurs="0"/>
+ <xsd:element name="cache-config"
type="jboss:cache-configType" minOccurs="0"/>
+ <xsd:element name="pool-config"
type="jboss:pool-configType" minOccurs="0"/>
+ <xsd:element name="concurrent"
type="jboss:concurrentType" minOccurs="0"/>
+ <xsd:element name="jndi-ref" type="jboss:jndi-refType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="port-component"
type="jboss:port-componentType" minOccurs="0"
maxOccurs="1"/>
+ <xsd:element name="ejb-timeout-identity"
type="jboss:security-identityType" minOccurs="0"
maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="jndi-refType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Used to inject generic types based on JNDI name
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
+ type="javaee:descriptionType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xsd:element name="jndi-ref-name"
+ type="javaee:jndi-nameType">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The jndi-ref-name element specifies the name of the
+ reference. The name is a JNDI name relative to the
+ java:comp/env context.
+ The name must be unique within a Deployment File.
+
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+ <xsd:group ref="jboss:resourceGroup"/>
+
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="local-bindingType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ Element for specifying the local jndi binding for a bean.
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="jndi-name" type="javaee:jndi-nameType"
minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="concurrentType">
+ <xsd:annotation>
+ <xsd:documentation> Set on a stateful bean. Instead of throwing an
exception on concurrent access to the stateful bean,
+ block/serialize access. </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="pool-configType">
+ <xsd:annotation>
+ <xsd:documentation>Element for specifying the class used to provide the
caching mechanism for a bean,
+ and the cache parameters
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="pool-value"
type="jboss:pool-valueType" minOccurs="0"/>
+ <xsd:element name="pool-max-size"
type="jboss:pool-max-sizeType" minOccurs="0"/>
+ <xsd:element name="pool-timeout"
type="jboss:pool-timeoutType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="pool-valueType">
+ <xsd:annotation>
+ <xsd:documentation>The type of the pool</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="pool-max-sizeType">
+ <xsd:annotation>
+ <xsd:documentation>Maximum size of the pool</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="pool-timeoutType">
+ <xsd:annotation>
+ <xsd:documentation>Seconds before an pool thread times
out</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="cache-configType">
+ <xsd:annotation>
+ <xsd:documentation>Element for specifying the class used to provide the
caching mechanism for a bean,
+ and the cache parameters
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="cache-value"
type="jboss:cache-valueType" minOccurs="0"/>
+ <xsd:element name="cache-max-size"
type="jboss:cache-max-sizeType" minOccurs="0"/>
+ <xsd:element name="idle-timeout-seconds"
type="jboss:idle-timeout-secondsType" minOccurs="0"/>
+ <xsd:element name="remove-timeout-seconds"
type="jboss:remove-timeout-secondsType" minOccurs="0"/>
+ <xsd:element name="cache-name"
type="jboss:cache-nameType" minOccurs="0"/>
+ <xsd:element name="persistence-manager"
type="jboss:persistence-managerType" minOccurs="0"/>
+ <xsd:element name="replication-is-passivation"
type="jboss:replication-is-passivationType" minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="persistence-managerType">
+ <xsd:annotation>
+ <xsd:documentation>The class of the persistence manager for the simple
cache</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="replication-is-passivationType">
+ <xsd:annotation>
+ <xsd:documentation></xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="cache-valueType">
+ <xsd:annotation>
+ <xsd:documentation>The value of the cache</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="cache-max-sizeType">
+ <xsd:annotation>
+ <xsd:documentation>Maximum cache entries before entry(s) are
evicted</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="idle-timeout-secondsType">
+ <xsd:annotation>
+ <xsd:documentation>Seconds before an idle entry is
evicted</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="remove-timeout-secondsType">
+ <xsd:annotation>
+ <xsd:documentation>Seconds before an idle entry is
removed</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:xsdIntegerType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="cache-nameType">
+ <xsd:annotation>
+ <xsd:documentation>The JMX MBean name of the tree
cache</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="proxy-factoryType">
+ <xsd:annotation>
+ <xsd:documentation> The fully qualified name of the proxy factory
class</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="invoker-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The name of the invoker (remoting Connector) to be
used</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="interceptor-stackType">
+ <xsd:annotation>
+ <xsd:documentation>Name of the AOP client interceptor
stack</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+ <xsd:complexType name="ignore-dependencyType">
+ <xsd:annotation>
+ <xsd:documentation> The ignore-dependency element removes an injection
dependency</xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="injection-target"
type="jboss:injection-targetType" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="aop-domain-nameType">
+ <xsd:annotation>
+ <xsd:documentation>Element for specifying the aspect domain for a bean.
The aspect domain contains the interceptor stack and bindings (default)
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="clusteredType">
+ <xsd:annotation>
+ <xsd:documentation> The clustered element indicates if this bean will run
in a cluster of
+ JBoss instances. It is provided by the deployer. If not, jboss will assume
clustered = False
+ Possible values: "True", "False" (default)
</xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:true-falseType"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="remote-bindingType">
+ <xsd:annotation>
+ <xsd:documentation>Element for specifying the remote jndi binding for a
bean as well
+ as the client interceptor stack
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="jndi-name" type="javaee:jndi-nameType"
minOccurs="0"/>
+ <xsd:element name="client-bind-url"
type="jboss:client-bind-urlType" minOccurs="0"/>
+ <xsd:element name="interceptor-stack"
type="jboss:interceptor-stackType" minOccurs="0"/>
+ <xsd:element name="proxy-factory"
type="jboss:proxy-factoryType" minOccurs="0"/>
+ <xsd:element name="invoker-name"
type="jboss:invoker-nameType" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="client-bind-urlType">
+ <xsd:annotation>
+ <xsd:documentation>The JBoss Remoting URL that clients will try and bind
to.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="webservicesType">
+ <xsd:sequence>
+ <xsd:element name="context-root" type="javaee:string"
minOccurs="0"/>
+ <xsd:element name="webservice-description"
type="jboss:webservice-descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <xsd:complexType name="port-componentType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[
+ The port-component element specifies a mapping from a webservice
+ port-component whose service-impl-bean/ejb-link value maps to an ejb.
+ Used in: session
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="port-component-name"
type="xsd:string"/>
+ <xsd:element name="port-component-uri" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="auth-method" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="transport-guarantee" type="xsd:string"
minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="secure-wsdl-access" type="xsd:boolean"
minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="cluster-configType">
+ <xsd:annotation>
+ <xsd:documentation> The cluster-config element allows to specify cluster
specific settings.
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="partition-name"
type="jboss:partition-nameType" minOccurs="0"/>
+ <xsd:element name="home-load-balance-policy"
type="jboss:load-balance-policyType" minOccurs="0"/>
+ <xsd:choice>
+ <xsd:element name="bean-load-balance-policy"
type="jboss:bean-load-balance-policyType" minOccurs="0"/>
+ <xsd:element name="load-balance-policy"
type="jboss:load-balance-policyType" minOccurs="0"/>
+ </xsd:choice>
+ <xsd:element name="session-state-manager-jndi-name"
type="javaee:string" minOccurs="0"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="partition-nameType">
+ <xsd:annotation>
+ <xsd:documentation> The partition-name element indicates the name of the
HAPartition to be
+ used by the container to exchange clustering information. This is a name and
*not* a JNDI
+ name. Given name will be prefixed by "/HAPartition/" by the
container to get the actual
+ JNDI name of the HAPartition. If not set, jboss will default to the value of
system
+ property "jboss.partition.name", or "DefaultPartition" if
that system property is not set.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="home-load-balance-policyType">
+ <xsd:annotation>
+ <xsd:documentation> The home-load-balance-policy element indicates the
+ name of the java class to be used to load balance calls in an EJB's
+ home proxy. If not set, jboss will assume
+ home-load-balance-policy =
"org.jboss.ha.client.loadbalance.RandomRobin".
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="bean-load-balance-policyType">
+ <xsd:annotation>
+ <xsd:documentation> The bean-load-balance-policy element indicates the
+ name of the java class to be used to load balance calls in the
+ bean proxy. If not set, for stateless beans jboss will assume
+
bean-load-balance-policy="org.jboss.ha.client.loadbalance.RandomRobin"
+ and for stateful beans it will assume
+
bean-load-balance-policy="org.jboss.ha.client.loadbalance.FirstAvailable".
+ The bean-load-balance-policy element and the load-balance-policy
+ element specify the same thing; configurations should choose one or
+ the other; which is chosen doesn't matter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="load-balance-policyType">
+ <xsd:annotation>
+ <xsd:documentation> The load-balance-policy element indicates the
+ name of the java class to be used to load balance calls in the
+ bean proxy. If not set, for stateless beans jboss will assume
+ load-balance-policy="org.jboss.ha.client.loadbalance.RandomRobin"
+ and for stateful beans it will assume
+
load-balance-policy="org.jboss.ha.client.loadbalance.FirstAvailable".
+ The bean-load-balance-policy element and the load-balance-policy
+ element specify the same thing; configurations should choose one or
+ the other; which is chosen doesn't matter.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:simpleContent>
+ <xsd:restriction base="javaee:string"/>
+ </xsd:simpleContent>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="method-attributesType">
+ <xsd:annotation>
+ <xsd:documentation> The method-attributes element can be used to specify
which methods are
+ read only or idempotent. This is used to reduce the need for locks and
replication.
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="method" type="jboss:methodType"
minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <!-- **************************************************** -->
+
+ <xsd:complexType name="generic-beanType">
+ <xsd:sequence>
+ <xsd:group ref="jboss:descriptionGroup"/>
+ <xsd:element name="ejb-name"
type="javaee:ejb-nameType"/>
+ <xsd:element name="mapped-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:group ref="jboss:jndiEnvironmentRefsGroup"/>
+ <xsd:element name="security-identity"
type="jboss:security-identityType" minOccurs="0"/>
+ <xsd:element name="jndi-name" type="javaee:jndi-nameType"
minOccurs="0"/>
+ <xsd:element name="home-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="local-jndi-name"
type="jboss:local-jndi-nameType" minOccurs="0"/>
+ <xsd:element name="local-home-jndi-name"
type="javaee:jndi-nameType" minOccurs="0"/>
+ <xsd:element name="jndi-binding-policy"
type="jboss:jndi-binding-policyType" minOccurs="0"/>
+ <xsd:element name="security-domain"
type="jboss:security-domainType" minOccurs="0"/>
+ <xsd:element name="method-attributes"
type="jboss:method-attributesType" minOccurs="0"/>
+ <xsd:element name="depends" type="jboss:dependsType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="annotation"
type="jboss:annotationType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="ignore-dependency"
type="jboss:ignore-dependencyType" minOccurs="0"/>
+ <xsd:element name="aop-domain-name"
type="jboss:aop-domain-nameType" minOccurs="0"/>
+ <xsd:element name="pool-config"
type="jboss:pool-configType" minOccurs="0"/>
+ <xsd:element name="jndi-ref" type="jboss:jndi-refType"
minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="port-component"
type="jboss:port-componentType" minOccurs="0"
maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="run-asType">
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded" />
+ <xsd:element name="role-name" type="javaee:role-nameType"
/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID" />
+ </xsd:complexType>
+
+ <xsd:complexType name="resource-managersType">
+ <xsd:annotation>
+ <xsd:documentation> The resource-managers element is used to declare
resource managers. A
+ resource has 3 names: - the "code name" is the name used in the
code of the bean, supplied
+ by the Bean Developer in the resource-ref section of the ejb-jar.xml file -
the "xml name"
+ is an intermediary name used by the Application Assembler to identify
resources in the XML
+ file. - the "runtime jndi name" is the actual jndi-name or url of
the deployed resource, it
+ is supplied by the Deployer. The mapping between the "code name"
and the "xml name" is given
+ in the resource-ref section for the bean. If not, jboss will assume that
"xml name" = "code
+ name". The mapping between the "xml name" and the
"runtime jndi name" is given in a
+ resource-manager section. If not, and if the datasource is of type
javax.sql.DataSource,
+ jboss will look for a javax.sql.DataSource in the jndi tree. Used in: jboss
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="resource-manager"
type="jboss:resource-managerType" minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="resource-managerType">
+ <xsd:annotation>
+ <xsd:documentation> The resource-manager element is used to provide a
mapping between the "xml
+ name" of a resource (res-name) and its "runtime jndi name"
(res-jndi-name or res-url
+ according to the type of the resource). If it is not provided, and if the
type of the
+ resource is javax.sql.DataSource, jboss will look for a javax.sql.DataSource
in the jndi
+ tree. See resource-managers. Used in: resource-managers
</xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:sequence>
+ <xsd:element name="description"
type="javaee:descriptionType" minOccurs="0"
maxOccurs="unbounded"/>
+ <xsd:element name="res-name"
type="javaee:xsdStringType"/>
+ <xsd:choice>
+ <xsd:element name="res-jndi-name"
type="javaee:xsdStringType"/>
+ <xsd:element name="res-url"
type="javaee:xsdStringType"/>
+ </xsd:choice>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="xsd:ID"/>
+ <xsd:attribute name="res-class" type="xsd:string"/>
+ </xsd:complexType>
+
+</xsd:schema>
Property changes on: trunk/as/plugins/org.jboss.ide.eclipse.as.core/dtd/jboss_5_1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain