http://geronimo.apache.org/schemas-1.1/geronimo-application-1.1.xsd
<?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:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-1.1" targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-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/security-1.1" schemaLocation="geronimo-security-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" type="geronimo:applicationType"/> <xs:complexType name="applicationType"> <xs:sequence> <xs:element ref="sys:environment"/> <xs:element name="module" type="geronimo:moduleType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ext-module" type="geronimo:ext-moduleType" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="security:security" minOccurs="0"/> <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/> </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: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. </xs:documentation> </xs:annotation> <xs:sequence> <xs:choice> <xs:element name="connector" type="geronimo:pathType"/> <xs:element name="ejb" type="geronimo:pathType"/> <xs:element name="java" type="geronimo:pathType"/> <xs:element name="web" type="geronimo:pathType"/> </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. </xs:documentation> </xs:annotation> </xs:element> <xs:any namespace="##other" processContents="lax"/> </xs:choice> </xs:sequence> </xs:complexType> <xs:complexType name="ext-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. </xs:documentation> </xs:annotation> <xs:sequence> <xs:choice> <xs:annotation> <xs:documentation> This is the name for the module, not the path inside the ear. </xs:documentation> </xs:annotation> <xs:element name="connector" type="geronimo:pathType"/> <xs:element name="ejb" type="geronimo:pathType"/> <xs:element name="java" type="geronimo:pathType"/> <xs:element name="web" type="geronimo:pathType"/> </xs:choice> <xs:choice> <xs:element name="internal-path" type="xs:token"/> <xs:element name="external-path" type="xs:token"/> </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: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>
Table of Contents
*Schema Document Properties
*Global Declarations
application
*Global Definitions
[ Complex Type: applicationType]
[ Complex Type: ext-moduleType]
[ Complex Type: moduleType]
[ Complex Type: pathType]
[ Complex Type: string ]
4.Legend
5.Glossary
Schema Document Properties
Target Namespace |
http://geronimo.apache.org/xml/ns/j2ee/application-1.1 |
---|
Version |
1.1 |
---|
Element and Attribute Namespaces |
Global element and attribute declarations belong to this schema's target namespace. |
---|
Schema Composition |
This schema imports schema(s) from the following namespace(s): geronimo-security-1.1.xsd) (at geronimo-module-1.1.xsd) |
---|
Declared Namespaces
Prefix |
Namespace |
---|---|
xml |
http://www.w3.org/XML/1998/namespace |
geronimo |
http://geronimo.apache.org/xml/ns/j2ee/application-1.1 |
security |
http://geronimo.apache.org/xml/ns/security-1.1 |
sys |
http://geronimo.apache.org/xml/ns/deployment-1.1 |
xs |
http://www.w3.org/2001/XMLSchema |
Schema Component Representation
<xs:schema xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-1.1" targetNamespace="http://geronimo.apache.org/xml/ns/j2ee/application-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/security-1.1" schemaLocation="geronimo-security-1.1.xsd"/> <xs:import namespace="http://geronimo.apache.org/xml/ns/deployment-1.1" schemaLocation="geronimo-module-1.1.xsd"/> ...... </xs schema>
Global Declarations
Element: application
Name |
application |
---|---|
Type |
|
geronimo |
applicationType |
Nillable |
no |
Abstract |
no |
Logical Diagram
XML Instance Representation
<geronimo:application> </geronimo:application>
Diagram:
<Insert the diagram here>
Schema Component Representation
<xs:element name="application" type="geronimo:applicationType"/>
Global Definitions
Complex Type: applicationType
Super-types: |
None |
---|---|
Sub-types: |
None |
Name |
applicationType |
---|---|
Abstract |
no |
XML Instance Representation
Diagram
<Insert the picture here>
Schema Component Representation
<xs:complexType name="applicationType"> <xs:sequence> <xs:element ref="sys:environment"/> <xs:element name="module" type="geronimo:moduleType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="ext-module" type="geronimo:ext-moduleType" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="security:security" minOccurs="0"/> <xs:element ref="sys:gbean" minOccurs="0" maxOccurs="unbounded"/> </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:complexType>
Complex Type: ext-moduleType
Super-types: |
None |
---|---|
Sub-types: |
None |
Name |
ext-moduleType |
---|---|
Abstract |
no |
Documentation |
Mirrors the moduleType defined by application_1_4.xsd and adds an optional alt-dd element defining a Geronimo specific deploy descriptors. |
XML Instance Representation
<xs:complexType name="ext-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. </xs:documentation> </xs:annotation> <xs:sequence> <xs:choice> <xs:annotation> <xs:documentation> This is the name for the module, not the path inside the ear. </xs:documentation> </xs:annotation> <xs:element name="connector" type="geronimo:pathType"/> <xs:element name="ejb" type="geronimo:pathType"/> <xs:element name="java" type="geronimo:pathType"/> <xs:element name="web" type="geronimo:pathType"/> </xs:choice> <xs:choice> <xs:element name="internal-path" type="xs:token"/> <xs:element name="external-path" type="xs:token"/> </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:sequence> </xs:complexType>