You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by hc...@apache.org on 2007/09/20 22:25:28 UTC
svn commit: r577905 [2/7] - in /geronimo/site/trunk/docs/xml: ./ ns/ ns/j2ee/
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-2.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-2.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,373 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xs:schema
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ attributeFormDefault="unqualified" version="1.0">
+
+ <xs:annotation>
+ <xs:documentation>
+ This is an XML Schema Definition for Geronimo enterprise application
+ deployment plan. In case the enterprise application deployment plan
+ is provided internally in the enterprise archive, it should be
+ located under META-INF/geronimo-application.xml. In case the
+ enterprise application deployment plan is provided externally, the
+ deployment descriptor can be named anything and provided as an
+ argument to the deploy tool. All the enterprise application
+ deployment plan must specify the top level element as application
+ with namespace specified as xmlns =
+ "http://geronimo.apache.org/xml/ns/j2ee/application-2.0". The
+ default location for this document is
+ http://geronimo.apache.org/schemas-1.2/geronimo-application-2.0.xsd
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ schemaLocation="geronimo-module-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo Services deployment plans. The imported plan
+ includes complex types like moduleType, environmentType,
+ dependenciesType, etc. required by this plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+
+ <xs:element name="application" type="geronimo:applicationType">
+ <xs:annotation>
+ <xs:documentation>
+ The root element for Geronimo web application deployment plan.
+ This element should always exist in instance documents. Note
+ that the sub-elements of this element should be as in the given
+ order in the sequence.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="applicationType">
+ <xs:annotation>
+ <xs:documentation>
+ The complex type for root element, it defines the elements of
+ root element for Geronimo enterprise application deployment
+ plan. Basically it is a sequence of elements environment,
+ module, ext-module, security, and services.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="sys:environment">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to environment element defined in imported
+ "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="module" type="geronimo:moduleType" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ An optional module element which defines various
+ modules included in the enterprise application archive.
+ It mirrors the moduleType defined by application_1_4.xsd
+ and adds an optional alt-dd element defining a Geronimo
+ specific deployment descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ext-module" type="geronimo:ext-moduleType"
+ minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ It is used to define modules included in this
+ application externally and these module could be
+ included in the archive, or they may reside in Geronimo
+ repository. It defines optional internal-path or
+ external-path to module/repository element being
+ referenced.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element ref="geronimo:security" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to security element defined in this schema. If
+ this optional element is present, all web and EJB
+ modules must make the appropriate access checks as
+ outlined in the JACC spec. This element groups the
+ security role mapping settings for the application.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to service element defined in imported
+ "geronimo-module-1.2.xsd".
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+
+ <!--TODO application name should be settable using name-key in the environment. Does this work? -->
+ <xs:attribute name="application-name" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ An optional attribute used to define the application name
+ for main parent enterprise application defined in ear
+ module.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="moduleType">
+ <xs:annotation>
+ <xs:documentation>
+ Mirrors the moduleType defined by application_1_4.xsd and adds
+ an optional alt-dd element defining a Geronimo specific
+ deployment descriptor for J2EE connector, ejb, web, or java
+ client modules.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="connector" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of J2EE
+ module type to be resource adapter module, and the
+ value of this element provides URI of resource
+ adapter archive file path relative to the enterprise
+ application package main directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ejb" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of J2EE
+ module type to be EJB module, and the value of this
+ element provides URI of EJB archive file path
+ relative to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="java" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of J2EE
+ module type to be Java Application client module,
+ and the value of this element provides URI of
+ application client java archive file path relative
+ to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="web" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of Web
+ module type to be EJB module, and the value of this
+ element provides URI of Web archive file path
+ relative to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:choice>
+ <xs:element name="alt-dd" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ Specifies an optional URI to the post-assembly
+ version of the Geronimo specific deployment
+ descriptor file for a particular J2EE module
+ relative to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:any namespace="##other" processContents="lax">
+ <xs:annotation>
+ <xs:documentation>
+ This option element contains the alternate geronimo
+ deployment plan for included modules.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:any>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="security" type="geronimo:abstract-securityType">
+ <xs:annotation>
+ <xs:documentation>
+ If this optional element is present, all web and EJB modules
+ must make the appropriate access checks as outlined in the JACC
+ spec. This element groups the security role mapping settings for
+ the application.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="abstract-securityType" abstract="true">
+ <xs:annotation>
+ <xs:documentation>
+ An abstract abstract-securityType used to indicate, all web and
+ EJB modules must make the appropriate access checks as outlined
+ in the JACC spec. This type will be extended and implemented by
+ geronimo-security-2.0.xsd file.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="clustering" type="geronimo:abstract-clusteringType">
+ <xs:annotation>
+ <xs:documentation>
+ An abstract clustering used to provide clustering informtation
+ for this application.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="abstract-clusteringType" abstract="true">
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ext-moduleType">
+ <xs:annotation>
+ <xs:documentation>
+ It is used to define modules included in this application
+ externally and is not a part of the archive. It defines optional
+ internal-path or external-path to module/repository element
+ being referenced.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="connector" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of J2EE
+ module type to be resource adapter module, and the
+ value of this element provides URI of resource
+ adapter archive file path relative to the enterprise
+ application package main directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="ejb" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of J2EE
+ module type to be EJB module, and the value of this
+ element provides URI of EJB archive file path
+ relative to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="java" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of J2EE
+ module type to be Java Application client module,
+ and the value of this element provides URI of
+ application client java archive file path relative
+ to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="web" type="geronimo:pathType">
+ <xs:annotation>
+ <xs:documentation>
+ The presence of this element is indicative of Web
+ module type to be EJB module, and the value of this
+ element provides URI of Web archive file path
+ relative to the enterprise application package main
+ directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:choice>
+ <xs:element name="internal-path" type="xs:token">
+ <xs:annotation>
+ <xs:documentation>
+ The element indicates that the module is a part of
+ this enterprise application. The value of this
+ element specifies the path of module relative to
+ internal path indicates that the module is packaged
+ in the EAR, and a path specified here is relative to
+ the enterprise application package main directory.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="external-path" type="sys:patternType">
+ <xs:annotation>
+ <xs:documentation>
+ The element indicates that the module is not a part
+ of this enterprise application, but rather located
+ matching the supplied pattern in a Geronimo repository.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+
+ <!--TODO consider an alt-spec-dd element-->
+ <!--Do not allow vendor plan inside ear. If it is in the ear, this does not need to be an external module -->
+ <xs:any namespace="##other" processContents="lax">
+ <xs:annotation>
+ <xs:documentation>
+ This option element contains the geronimo deployment
+ plan for included modules. The geronimo deployment plan
+ for included modules can be packaged with module.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:any>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="pathType">
+ <xs:annotation>
+ <xs:documentation>Mirrors j2ee:pathType.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:restriction base="geronimo:string" />
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="string">
+ <xs:annotation>
+ <xs:documentation>Mirrors j2ee:string.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:token">
+ <xs:attribute name="id" type="xs:ID" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- @version $Rev: 379628 $ $Date: 2006-02-21 18:44:02 -0500 (Tue, 21 Feb 2006) $ -->
+<xs:schema
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.0"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
+ xmlns:connector="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
+ xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.0" schemaLocation="geronimo-naming-1.0.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0" schemaLocation="geronimo-connector-1.0.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.0" schemaLocation="geronimo-config-1.0.xsd"/>
+
+ <xs:element name="application-client" type="geronimo:application-clientType"/>
+
+ <xs:complexType name="application-clientType">
+ <xs:sequence>
+<!-- <xs:element ref="sys:parent" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element name="include" type="sys:dependencyType" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:dependency" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:hidden-classes" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:non-overridable-classes" minOccurs="0" maxOccurs="unbounded"/>-->
+ <xs:group ref="sys:classloader-include-infoGroup"/>
+
+
+ <xs:element ref="naming:ejb-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:service-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:resource-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:resource-env-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="security:default-principal" minOccurs="0"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="realm-name" type="xs:string"/>
+ <xs:element name="callback-handler" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+
+
+ <xs:element name="resource" type="geronimo:resourceType" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+
+ <xs:attribute name="configId" type="xs:string" use="required"/>
+ <xs:attribute name="parentId" type="xs:string" use="optional"/>
+ <xs:attribute name="clientConfigId" type="xs:string" use="required"/>
+ <xs:attribute name="clientParentId" type="xs:string" use="optional"/>
+ </xs:complexType>
+
+ <xs:complexType name="resourceType">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="external-rar" type="xs:string"/>
+ <xs:element name="internal-rar" type="xs:string"/>
+ </xs:choice>
+ <xs:element ref="connector:connector"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.1.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-1.1.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<!-- @version $Rev: 499890 $ $Date: 2007-01-25 13:43:20 -0500 (Thu, 25 Jan 2007) $ -->
+<xs:schema
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
+ xmlns:connector="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"
+ xmlns:security="http://geronimo.apache.org/xml/ns/security-1.1"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.1" schemaLocation="geronimo-naming-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1" schemaLocation="geronimo-connector-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/>
+
+ <xs:element name="application-client" type="geronimo:application-clientType"/>
+
+ <xs:complexType name="application-clientType">
+ <xs:sequence>
+ <xs:element ref="sys:client-environment"/>
+ <xs:element ref="sys:server-environment"/>
+
+ <xs:element ref="naming:gbean-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:ejb-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:service-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:resource-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:resource-env-ref" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="naming:message-destination" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="security:default-principal" minOccurs="0"/>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="realm-name" type="xs:string"/>
+ <xs:element name="callback-handler" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+
+
+ <xs:element name="resource" type="geronimo:resourceType" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+
+ </xs:complexType>
+
+ <xs:complexType name="resourceType">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="external-rar" type="xs:string"/>
+ <xs:element name="internal-rar" type="xs:string"/>
+ </xs:choice>
+ <xs:element ref="connector:connector"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-2.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-2.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-application-client-2.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- @version $Rev: 573465 $ $Date: 2007-09-07 01:41:34 -0400 (Fri, 07 Sep 2007) $ -->
+
+<xs:schema
+ xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2"
+ xmlns:connector="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
+ xmlns:security="http://geronimo.apache.org/xml/ns/security-2.0"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ attributeFormDefault="unqualified" version="1.0">
+
+ <xs:annotation>
+ <xs:documentation>
+ This is an XML Schema Definition for Geronimo Java application
+ client deployment plan. In case the Java application client
+ deployment plan is provided internally in the java archive, it
+ should be named META-INF/geronimo-application-client.xml. In case
+ the java application client deployment plan is provided externally,
+ the deployment descriptor can be named anything and provided to the
+ deploy tool. All the Java application client deployment plan must
+ specify the top level element as application-client with namespace
+ specified as
+ xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0".
+ The default location for this document is
+ http://geronimo.apache.org/schemas-1.2/geronimo-application-client-2.0.xsd
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.2"
+ schemaLocation="geronimo-naming-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import partial schema containing common naming elements, the
+ imported plan declares elements like ejb-ref, ejb-local-ref,
+ service-ref, resource-ref, and resource-env-ref required by this
+ plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/security-2.0"
+ schemaLocation="geronimo-security-2.0.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo security deployment plans. The imported plan
+ includes complex types for defining security and principals.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
+ schemaLocation="geronimo-connector-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo resource adapter deployment plans. The imported
+ plan includes complex types for defining connectors and resource
+ adapters.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.2"
+ schemaLocation="geronimo-module-1.2.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Import Geronimo Services deployment plans. The imported plan
+ includes complex types like moduleType, environmentType,
+ dependenciesType, etc. required by this plan schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+
+ <xs:element name="application-client"
+ type="geronimo:application-clientType">
+ <xs:annotation>
+ <xs:documentation>
+ The root element for Geronimo Java application client deployment
+ plan, this element should always exist in instance documents. It
+ mirrors the application-client defined by
+ application-client_1_4.xsd. It specifies the references for the
+ java application client modules. These references could be
+ reference to external gbeans, ejb modules, service modules,
+ resources, or security principals.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="application-clientType">
+ <xs:sequence>
+ <xs:element ref="sys:client-environment">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to client-environment element defined in
+ imported "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="sys:server-environment">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to server-environment element defined in
+ imported "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element ref="naming:gbean-ref" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to gbean-ref element defined in imported
+ "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="naming:ejb-ref" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to ejb-ref element defined in imported
+ "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="naming:service-ref" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to service-ref element defined in imported
+ "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="naming:resource-ref" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to resource-ref element defined in imported
+ "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="naming:resource-env-ref" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to resource-env-ref element defined in
+ imported "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="naming:message-destination" minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to message-destination element defined in
+ imported "geronimo-naming-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element ref="security:default-subject" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to default-subject element defined in
+ imported "geronimo-security-2.0.xsd"
+ This is the subject run under if you are not logged in.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:sequence minOccurs="0">
+ <xs:element name="realm-name" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ The realm-name element names the security realm used
+ for JAAS login
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="callback-handler" type="xs:string"
+ minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>
+ The callback-handler element specifies the name of a
+ callback class provided by the application for JAAS
+ authentication. This class must implement the
+ javax.security.auth.callback.CallbackHandler
+ interface and follow its specification, as this
+ class will be used by the application client
+ container to collect authentication information from
+ the user.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+
+ <xs:element name="resource" type="geronimo:resourceType"
+ minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ The resource element names contains the definition of
+ all the module-scoped connector resources. The connector
+ resource can be both external and internal to the
+ application client.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element ref="sys:service" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Reference to service element defined in imported
+ "geronimo-module-1.2.xsd"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="resourceType">
+ <xs:sequence>
+ <xs:choice>
+ <xs:element name="external-rar" type="sys:patternType">
+ <xs:annotation>
+ <xs:documentation>
+ The external-rar is a Module ID of the resource
+ adapter in the Geronimo repository.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="internal-rar" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ The internal-rar is a Module ID of the resource
+ adapter in the client module.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:choice>
+ <xs:element ref="connector:connector">
+ <xs:annotation>
+ <xs:documentation>
+ This element contains the contents of the Resource Group
+ deployment plan. The content is no different that the
+ content of the deployment plan would have been for the
+ server-wide or application-scoped resource group.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-config-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-config-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-config-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-config-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,291 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xs:schema
+ targetNamespace="http://geronimo.apache.org/xml/ns/deployment-1.0"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ >
+ <xs:annotation>
+ <xs:documentation>
+ Schema for Geronimo Services deployment plans.
+ Instance documents should begin with the element:
+
+ >gbeans xmlns="http://geronimo.apache.org/xml/ns/deployment-1.0"<
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="configuration" type="sys:configurationType"/>
+
+ <xs:complexType name="configurationType">
+ <xs:sequence>
+ <xs:group ref="sys:classloader-include-infoGroup"/>
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="configId" type="xs:string" use="required"/>
+ <xs:attribute name="parentId" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ You are required to specify either parentId or both domain and server. domain and server form
+ the domain and J2EEServer key for gbeans in this configuration and any descendant configurations.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="domain" type="xs:string" use="optional"/>
+ <xs:attribute name="server" type="xs:string" use="optional"/>
+ <xs:attribute name="inverseClassloading" type="xs:boolean" use="optional"/>
+ </xs:complexType>
+
+ <xs:group name="classloader-infoGroup">
+ <xs:sequence>
+ <xs:element ref="sys:import" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:dependency" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:hidden-classes" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:non-overridable-classes" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:group>
+ <xs:group name="classloader-include-infoGroup">
+ <xs:sequence>
+ <xs:element ref="sys:import" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:include" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:dependency" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:hidden-classes" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="sys:non-overridable-classes" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:group>
+
+ <xs:element name="import" type="sys:dependencyType">
+ <xs:annotation>
+ <xs:documentation>
+ "import" holds a URI, where the URI matches the configId of another configuration.
+ That configuration will be added as a parent of this configuration (the main
+ impact being that it's ClassLoader will be a parent of the ClassLoader for this
+ configuration.
+
+ Generally this URI will have the Maven form (groupId/artifactId/version/type),
+ and you can also use the sub-elements (groupId, type, ...) accordingly.
+ However, if you deploy a custom module with a simple configId like "Foo",
+ you can use that as the URI value here, and in that case you could not use the
+ subelements because you wouldn't have values for all of them.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="include" type="sys:dependencyType">
+ <xs:annotation>
+ <xs:documentation>
+ "include" holds a URI, where the URI identifies an entry in the server's Repository.
+ When this module is being built, the content of that repository entry will be
+ copied into this module and added to the ClassPath of this module. This is
+ currently only supported for a small number of module types, and is typically used
+ to create more "standalone" modules that don't need a populated repository to run.
+
+ This URI must always have a form acceptable to the Repository, which currently
+ takes Maven-style URIs (groupId/artifactId/version/type). You can also use the
+ sub-elements (groupId, type, ...) instead of a full URI.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="dependency" type="sys:dependencyType">
+ <xs:annotation>
+ <xs:documentation>
+ "dependency" holds a URI, where the URI identifies an entry in the server's
+ Repository. That repository entry will be added to the ClassPath of this module.
+ Essentially, this module's ClassPath points to that location in the server's
+ repository, so that entry must be in the repository at runtime for this to work.
+
+ This URI must always have a form acceptable to the Repository, which currently
+ takes Maven-style URIs (groupId/artifactId/version/type). You can also use the
+ sub-elements (groupId, type, ...) instead of a full URI.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="hidden-classes" type="sys:classFilterType">
+ <xs:annotation>
+ <xs:documentation>
+ A list of classes which will never be loaded from parent ClassLoaders of this
+ module. For example, if Log4J was listed here, the module would never see
+ Geronimo's copy of Log4J. If the module provided it's own Log4J JAR it would
+ use that, otherwise it would not be able to load Log4J at all.
+
+ The form of this is a comma-separated list of fully-qualified class names or
+ prefixes. Essentially, any class that starts with one of the prefixes listed
+ here will be treated as hidden. For example, if you set this value to
+ "java.util,java.lang" then you would really screw up your application. :)
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="non-overridable-classes" type="sys:classFilterType">
+ <xs:annotation>
+ <xs:documentation>
+ A list of classes which will only be loaded from parent ClassLodaers of this
+ module (never from the module's own ClassLoader). For example, this is used
+ to prevent a web application from redefining "javax.servlet", so those
+ classes will *always* be loaded from the server instead of from the web
+ web application's own ClassPath.
+
+ The form of this is a comma-separated list of fully-qualified class names or
+ prefixes. Essentially, any class that starts with one of the prefixes listed
+ here will be treated as hidden. For example, setting this to
+ "javax.servlet,javax.ejb" would protect some of the core J2EE classes from
+ being overridden.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="gbean" type="sys:gbeanType">
+ <xs:annotation>
+ <xs:documentation>
+ Adds a new custom component to the server. The component will be deployed
+ when this application module is deployed, but it is not in any way protected,
+ so once it is up and running, other modules can refer to it normally.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="classFilterType">
+ <xs:sequence>
+ <xs:element name="filter" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="dependencyType">
+ <xs:annotation>
+ <xs:documentation><![CDATA[
+ Refers to either another module (aka configuration) running in the server, or
+ an entry in the server's Repository. In either case this effectively uses a
+ URI.
+
+ When this is pointing to a repository entry, the URI must have a form
+ acceptable to the repository, which is currently a URI consisting of
+ Maven-style identifiers separated by slashes (groupId/artifactId/version/type,
+ for example, the URI "postgresql/postgresql-8.0-jdbc/313/jar" for a file like
+ "repository/postgresql/postgresql-8.0-jdbc-313.jar").
+
+ When this is pointing to a module/configuration, the URI should match the
+ module's configId. For standard Geronimo configurations, this also looks
+ like a Maven-style URI discussed above. However, user-deployed applications
+ or configurations can use arbitrary URIs like "Foo".
+
+ The dependencyType element can take either a straight URI (as in the examples
+ above), or maven-style identifier fragments (groupId, type, artifactId, and
+ version), which it will compose into a URI by adding up the fragments with
+ slashes in between. Therefore, if you are pointing to a module with a
+ non-Maven-style configId, you can't use the maven fragments since you
+ wouldn't have something to specify for all of them.
+
+ For example, two ways to map the URI listed above would be:
+ 1.
+ <uri>postgresql/postgresql-8.0-jdbc/313/jar</uri>
+ 2.
+ <groupId>postgresql</groupId>
+ <type>jar</type>
+ <artifactId>postgresql-8.0-jdbc</artifactId>
+ <version>313</version>
+
+ ]]></xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element name="groupId" type="xs:string"/>
+ <xs:element name="type" type="xs:string" minOccurs="0"/>
+ <xs:element name="artifactId" type="xs:string"/>
+ <xs:element name="version" type="xs:string"/>
+ </xs:sequence>
+ <xs:element name="uri" type="xs:string"/>
+ </xs:choice>
+ </xs:complexType>
+
+ <xs:complexType name="gbeanType">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="attribute" type="sys:attributeType"/>
+ <xs:element name="xml-attribute" type="sys:xml-attributeType"/>
+ <xs:element name="reference" type="sys:referenceType"/>
+ <xs:element name="references" type="sys:referencesType"/>
+ <xs:element name="xml-reference" type="sys:xml-attributeType"/>
+ <xs:element name="dependency" type="sys:patternType"/>
+ </xs:choice>
+ <xs:attribute name="gbeanName" type="xs:string"/>
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="class" type="xs:string" use="required"/>
+ </xs:complexType>
+
+ <xs:complexType name="attributeType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string"/>
+ <xs:attribute name="type" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="xml-attributeType">
+ <xs:sequence>
+ <xs:any namespace="##other" processContents="lax"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:complexType name="referencesType">
+ <xs:sequence>
+ <xs:element name="pattern" type="sys:patternType" minOccurs="1" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:complexType name="patternType">
+ <xs:sequence>
+ <xs:group ref="sys:gbean-nameGroup"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="referenceType">
+ <xs:complexContent>
+ <xs:extension base="sys:patternType">
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:group name="gbean-nameGroup">
+ <xs:annotation>
+ <xs:documentation>This group contains the components of a jsr-77 object name</xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:sequence>
+ <xs:element name="domain" type="xs:string" minOccurs="0"/>
+ <xs:element name="server" type="xs:string" minOccurs="0"/>
+ <xs:element name="application" type="xs:string" minOccurs="0"/>
+ <xs:element name="moduleType" type="xs:string" minOccurs="0"/>
+ <xs:element name="module" type="xs:string" minOccurs="0"/>
+ <xs:element name="type" type="xs:string" minOccurs="0"/>
+ <xs:element name="name" type="xs:string"/>
+ </xs:sequence>
+ <xs:element name="gbean-name" type="xs:string"/>
+ </xs:choice>
+ </xs:group>
+
+ <xs:element name="service" type="sys:serviceType"/>
+
+ <xs:complexType name="serviceType">
+ <xs:sequence>
+ <xs:element name="dependency" type="sys:dependencyType" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.0.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.0.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,399 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:ger="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.0" schemaLocation="geronimo-naming-1.0.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.0" schemaLocation="geronimo-config-1.0.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation>
+ <![CDATA[
+ documents using this schema should start like:
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
+ version="1.5">
+
+ @(#)geronimo-connector_1_5.xsds
+ ]]>
+ </xs:documentation>
+ </xs:annotation>
+
+
+
+ <!-- **************************************************** -->
+
+
+ <xs:element name="connector" type="ger:connectorType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The connector element is the root element of the deployment
+ descriptor for the resource adapter. This element includes
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:unique name="resourceadapter-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+
+ The resourceadapter-instance element must have a unique name.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:resourceadapter/ger:resourceadapter-instance"/>
+ <xs:field xpath="ger:resourceadapter-name"/>
+ </xs:unique>
+
+ <xs:unique name="connectiondefinition-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+
+ The connectiondefinition-instance element must have a unique name.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:resourceadapter/ger:outbound-resourceadapter/ger:connection-definition/ger:connectiondefinition-instance"/>
+ <xs:field xpath="ger:name"/>
+ </xs:unique>
+
+ <xs:unique name="admin-object-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+
+ The admin-object-instance element must have a unique name.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:adminobject/ger:adminobject-instance"/>
+ <xs:field xpath="ger:message-destination-name"/>
+ </xs:unique>
+
+ </xs:element>
+
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="adminobjectType">
+ <xs:annotation>
+ <xs:documentation>
+ reference back into standard dd
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="adminobject-interface"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ believe it or not, there are no uniqueness constraints on admin object intf or class
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:element>
+ <xs:element name="adminobject-class"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>reference back into the standard dd</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="adminobject-instance"
+ type="ger:adminobject-instanceType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="adminobject-instanceType">
+ <xs:sequence>
+ <xs:element name="message-destination-name"
+ type="xs:string">
+ <xs:annotation>
+ <xs:documentation>unique name for admin object instance. Used in object name of gbean for it. Matches message-destination-name in ejb-jar.xml assembly descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="config-property-settingType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The config-property-settingType contains a name-value pair for a
+ config-property or required-config-property
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connection-definitionType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The connection-definitionType defines a set of connection
+ interfaces and classes pertaining to a particular connection
+ type. This also includes configurable properties for
+ ManagedConnectionFactory instances that may be produced out
+ of this set.
+
+ The name element uniquely identifies this instance
+
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="connectionfactory-interface"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ connectionfactory-interface is unique in ra.xml so is used to index into ra.xml
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="connectiondefinition-instance"
+ type="ger:connectiondefinition-instanceType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="connectiondefinition-instanceType">
+ <xs:sequence>
+ <xs:element name="name"
+ type="xs:string"/>
+
+ <xs:element name="implemented-interface"
+ type="ger:fully-qualified-classType"
+ minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Additional interfaces implemented by the connectionfactory, used by the application
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <!-- <xs:choice>-->
+ <xs:element name="connectionmanager"
+ type="ger:connectionmanagerType">
+ </xs:element>
+ <!-- <xs:element name="connectionmanager-ref" type="xs:string"/>-->
+ <!-- </xs:choice>-->
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connectionmanagerType">
+ <xs:annotation>
+ <xs:documentation>
+ The ConnectionManager configuration.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="container-managed-security" type="ger:emptyType" minOccurs="0"/>
+ <xs:choice minOccurs="0">
+ <xs:element name="no-transaction" type="ger:emptyType"/>
+ <xs:element name="local-transaction" type="ger:emptyType"/>
+ <xs:element name="xa-transaction" type="ger:xatransactionType"/>
+ <xs:element name="transaction-log" type="ger:emptyType"/>
+ </xs:choice>
+ <xs:choice>
+ <xs:element name="no-pool" type="ger:emptyType"/>
+ <xs:element name="single-pool" type="ger:singlepoolType"/>
+ <xs:element name="partitioned-pool" type="ger:partitionedpoolType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="xatransactionType">
+ <xs:sequence>
+ <xs:element name="transaction-caching" type="ger:emptyType" minOccurs="0"/>
+ <xs:element name="thread-caching" type="ger:emptyType" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="singlepoolType">
+ <xs:sequence>
+ <xs:element name="max-size" type="xs:int" minOccurs="0"/>
+ <xs:element name="min-size" type="xs:int" minOccurs="0"/>
+ <xs:element name="blocking-timeout-milliseconds" type="xs:int" minOccurs="0"/>
+ <xs:element name="idle-timeout-minutes" type="xs:int" minOccurs="0"/>
+ <xs:choice>
+ <xs:element name="match-one" type="ger:emptyType"/>
+ <xs:element name="match-all" type="ger:emptyType"/>
+ <xs:element name="select-one-assume-match" type="ger:emptyType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="partitionedpoolType">
+ <complexContent>
+ <extension base="ger:singlepoolType">
+ <xs:sequence>
+ <xs:element name="partition-by-subject" type="ger:emptyType" minOccurs="0"/>
+ <xs:element name="partition-by-connectionrequestinfo" type="ger:emptyType" minOccurs="0"/>
+ </xs:sequence>
+ </extension>
+ </complexContent>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connectorType">
+ <xs:annotation>
+ <xs:documentation>
+ The connectorType defines a resource adapter.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+<!-- <xs:element ref="sys:parent" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:dependency" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:hidden-classes" minOccurs="0" maxOccurs="unbounded"/>-->
+<!-- <xs:element ref="sys:non-overridable-classes" minOccurs="0" maxOccurs="unbounded"/>-->
+ <xs:group ref="sys:classloader-infoGroup"/>
+
+ <xs:element name="resourceadapter" type="ger:resourceadapterType" maxOccurs="unbounded"/>
+
+ <xs:element name="adminobject" type="ger:adminobjectType" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+
+ <xs:attribute name="configId" type="xs:string" use="required"/>
+ <xs:attribute name="parentId" type="xs:string" use="optional"/>
+ <xs:attribute name="suppressDefaultParentId" type="xs:boolean" use="optional"/>
+ <xs:attribute name="inverseClassloading" type="xs:boolean" use="optional"/>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="emptyType"/>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="outbound-resourceadapterType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The outbound-resourceadapterType specifies information about
+ an outbound resource adapter. The information includes fully
+ qualified names of classes/interfaces required as part of
+ the connector architecture specified contracts for
+ connection management, level of transaction support
+ provided, one or more authentication mechanisms supported
+ and additional required security permissions.
+
+ If there is no authentication-mechanism specified as part of
+ resource adapter element then the resource adapter does not
+ support any standard security authentication mechanisms as
+ part of security contract. The application server ignores
+ the security part of the system contracts in this case.
+
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="connection-definition"
+ type="ger:connection-definitionType"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="resourceadapterType">
+
+ <xs:sequence>
+ <xs:element name="resourceadapter-instance"
+ type="ger:resourceadapter-instanceType"
+ minOccurs="0">
+ </xs:element>
+ <xs:element name="outbound-resourceadapter"
+ type="ger:outbound-resourceadapterType"
+ minOccurs="0">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="resourceadapter-instanceType">
+ <xs:annotation>
+ <xs:documentation>
+ The resourceadapter instance info is put in a separate optional element
+ to provide easier more consistent support for 1.0 adapters.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="resourceadapter-name" type="xs:string"/>
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xs:element ref="naming:workmanager"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+
+ <!-- types borrowed from the j2ee schema. We might want to centralize these -->
+
+ <xs:simpleType name="fully-qualified-classType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+
+ <xs:complexType name="descriptionType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="xml:lang"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+
+</xs:schema>
+
Added: geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.1.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.1.xsd?rev=577905&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.1.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/j2ee/geronimo-connector-1.1.xsd Thu Sep 20 13:25:18 2007
@@ -0,0 +1,391 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright 2004 The Apache Software Foundation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<xs:schema xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:ger="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"
+ xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1"
+ xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"
+ targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/naming-1.1" schemaLocation="geronimo-naming-1.1.xsd"/>
+ <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/>
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation>
+ <![CDATA[
+ documents using this schema should start like:
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"
+ version="1.5">
+
+ @(#)geronimo-connector_1_5.xsds
+ ]]>
+ </xs:documentation>
+ </xs:annotation>
+
+
+
+ <!-- **************************************************** -->
+
+
+ <xs:element name="connector" type="ger:connectorType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The connector element is the root element of the deployment
+ descriptor for the resource adapter. This element includes
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:unique name="resourceadapter-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+
+ The resourceadapter-instance element must have a unique name.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:resourceadapter/ger:resourceadapter-instance"/>
+ <xs:field xpath="ger:resourceadapter-name"/>
+ </xs:unique>
+
+ <xs:unique name="connectiondefinition-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+
+ The connectiondefinition-instance element must have a unique name.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:resourceadapter/ger:outbound-resourceadapter/ger:connection-definition/ger:connectiondefinition-instance"/>
+ <xs:field xpath="ger:name"/>
+ </xs:unique>
+
+ <xs:unique name="admin-object-instance-name-uniqueness">
+ <xs:annotation>
+ <xs:documentation>
+
+ The admin-object-instance element must have a unique name.
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:selector xpath="ger:adminobject/ger:adminobject-instance"/>
+ <xs:field xpath="ger:message-destination-name"/>
+ </xs:unique>
+
+ </xs:element>
+
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="adminobjectType">
+ <xs:annotation>
+ <xs:documentation>
+ reference back into standard dd
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="adminobject-interface"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ believe it or not, there are no uniqueness constraints on admin object intf or class
+ </xs:documentation>
+ </xs:annotation>
+
+ </xs:element>
+ <xs:element name="adminobject-class"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>reference back into the standard dd</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="adminobject-instance"
+ type="ger:adminobject-instanceType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="adminobject-instanceType">
+ <xs:sequence>
+ <xs:element name="message-destination-name"
+ type="xs:string">
+ <xs:annotation>
+ <xs:documentation>unique name for admin object instance. Used in object name of gbean for it. Matches message-destination-name in ejb-jar.xml assembly descriptor.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="config-property-settingType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The config-property-settingType contains a name-value pair for a
+ config-property or required-config-property
+
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connection-definitionType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The connection-definitionType defines a set of connection
+ interfaces and classes pertaining to a particular connection
+ type. This also includes configurable properties for
+ ManagedConnectionFactory instances that may be produced out
+ of this set.
+
+ The name element uniquely identifies this instance
+
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="connectionfactory-interface"
+ type="ger:fully-qualified-classType">
+ <xs:annotation>
+ <xs:documentation>
+ connectionfactory-interface is unique in ra.xml so is used to index into ra.xml
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="connectiondefinition-instance"
+ type="ger:connectiondefinition-instanceType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="connectiondefinition-instanceType">
+ <xs:sequence>
+ <xs:element name="name"
+ type="xs:string"/>
+
+ <xs:element name="implemented-interface"
+ type="ger:fully-qualified-classType"
+ minOccurs="0"
+ maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ Additional interfaces implemented by the connectionfactory, used by the application
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <!-- <xs:choice>-->
+ <xs:element name="connectionmanager"
+ type="ger:connectionmanagerType">
+ </xs:element>
+ <!-- <xs:element name="connectionmanager-ref" type="xs:string"/>-->
+ <!-- </xs:choice>-->
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connectionmanagerType">
+ <xs:annotation>
+ <xs:documentation>
+ The ConnectionManager configuration.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="container-managed-security" type="ger:emptyType" minOccurs="0"/>
+ <xs:choice minOccurs="0">
+ <xs:element name="no-transaction" type="ger:emptyType"/>
+ <xs:element name="local-transaction" type="ger:emptyType"/>
+ <xs:element name="xa-transaction" type="ger:xatransactionType"/>
+ <xs:element name="transaction-log" type="ger:emptyType"/>
+ </xs:choice>
+ <xs:choice>
+ <xs:element name="no-pool" type="ger:emptyType"/>
+ <xs:element name="single-pool" type="ger:singlepoolType"/>
+ <xs:element name="partitioned-pool" type="ger:partitionedpoolType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="xatransactionType">
+ <xs:sequence>
+ <xs:element name="transaction-caching" type="ger:emptyType" minOccurs="0"/>
+ <xs:element name="thread-caching" type="ger:emptyType" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="singlepoolType">
+ <xs:sequence>
+ <xs:element name="max-size" type="xs:int" minOccurs="0"/>
+ <xs:element name="min-size" type="xs:int" minOccurs="0"/>
+ <xs:element name="blocking-timeout-milliseconds" type="xs:int" minOccurs="0"/>
+ <xs:element name="idle-timeout-minutes" type="xs:int" minOccurs="0"/>
+ <xs:choice>
+ <xs:element name="match-one" type="ger:emptyType"/>
+ <xs:element name="match-all" type="ger:emptyType"/>
+ <xs:element name="select-one-assume-match" type="ger:emptyType"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="partitionedpoolType">
+ <complexContent>
+ <extension base="ger:singlepoolType">
+ <xs:sequence>
+ <xs:element name="partition-by-subject" type="ger:emptyType" minOccurs="0"/>
+ <xs:element name="partition-by-connectionrequestinfo" type="ger:emptyType" minOccurs="0"/>
+ </xs:sequence>
+ </extension>
+ </complexContent>
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="connectorType">
+ <xs:annotation>
+ <xs:documentation>
+ The connectorType defines a resource adapter.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element ref="sys:environment" minOccurs="0"/>
+
+ <xs:element name="resourceadapter" type="ger:resourceadapterType" maxOccurs="unbounded"/>
+
+ <xs:element name="adminobject" type="ger:adminobjectType" minOccurs="0" maxOccurs="unbounded"/>
+
+ <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+
+ </xs:complexType>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="emptyType"/>
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="outbound-resourceadapterType">
+ <xs:annotation>
+ <xs:documentation>
+
+ The outbound-resourceadapterType specifies information about
+ an outbound resource adapter. The information includes fully
+ qualified names of classes/interfaces required as part of
+ the connector architecture specified contracts for
+ connection management, level of transaction support
+ provided, one or more authentication mechanisms supported
+ and additional required security permissions.
+
+ If there is no authentication-mechanism specified as part of
+ resource adapter element then the resource adapter does not
+ support any standard security authentication mechanisms as
+ part of security contract. The application server ignores
+ the security part of the system contracts in this case.
+
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="connection-definition"
+ type="ger:connection-definitionType"
+ maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <!-- **************************************************** -->
+
+ <xs:complexType name="resourceadapterType">
+
+ <xs:sequence>
+ <xs:element name="resourceadapter-instance"
+ type="ger:resourceadapter-instanceType"
+ minOccurs="0">
+ </xs:element>
+ <xs:element name="outbound-resourceadapter"
+ type="ger:outbound-resourceadapterType"
+ minOccurs="0">
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="resourceadapter-instanceType">
+ <xs:annotation>
+ <xs:documentation>
+ The resourceadapter instance info is put in a separate optional element
+ to provide easier more consistent support for 1.0 adapters.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="resourceadapter-name" type="xs:string"/>
+ <xs:element name="config-property-setting"
+ type="ger:config-property-settingType"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ <xs:element ref="naming:workmanager"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+
+ <!-- types borrowed from the j2ee schema. We might want to centralize these -->
+
+ <xs:simpleType name="fully-qualified-classType">
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+
+ <xs:complexType name="descriptionType">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="xml:lang"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+
+</xs:schema>
+