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/25 22:50:38 UTC

svn commit: r579375 - in /geronimo/site/trunk/docs/xml/ns/web: ./ jetty/ jetty/geronimo-jetty-config-1.0.xsd tomcat/ tomcat/geronimo-tomcat-config-1.0.xsd

Author: hcunico
Date: Tue Sep 25 13:50:37 2007
New Revision: 579375

URL: http://svn.apache.org/viewvc?rev=579375&view=rev
Log:
reorganizing xml schemas

Added:
    geronimo/site/trunk/docs/xml/ns/web/
    geronimo/site/trunk/docs/xml/ns/web/jetty/
    geronimo/site/trunk/docs/xml/ns/web/jetty/geronimo-jetty-config-1.0.xsd
    geronimo/site/trunk/docs/xml/ns/web/tomcat/
    geronimo/site/trunk/docs/xml/ns/web/tomcat/geronimo-tomcat-config-1.0.xsd

Added: geronimo/site/trunk/docs/xml/ns/web/jetty/geronimo-jetty-config-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/web/jetty/geronimo-jetty-config-1.0.xsd?rev=579375&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/web/jetty/geronimo-jetty-config-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/web/jetty/geronimo-jetty-config-1.0.xsd Tue Sep 25 13:50:37 2007
@@ -0,0 +1,81 @@
+<?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:jetty="http://geronimo.apache.org/xml/ns/web/jetty/config-1.0"
+    targetNamespace="http://geronimo.apache.org/xml/ns/web/jetty/config-1.0"
+    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 jetty specific
+            configuration. It is a used as a sub part of the web application
+            deployment plan. The elements defined in this plan are included in
+            container-config element of web application plan. The top level
+            element included in container-config is jetty with namespace
+            specified as
+            xmlns="http://geronimo.apache.org/xml/ns/j2ee/jetty-config-1.0". The
+            default location for this document is
+            http://geronimo.apache.org/schemas-1.2/geronimo-jetty-config-1.0.xsd
+        </xs:documentation>
+    </xs:annotation>
+    <xs:element name="jetty" type="jetty:jetty-configType">
+        <xs:annotation>
+            <xs:documentation>
+                The jetty element is the root of the deployment descriptor for a
+                jetty specific configuration in web application. Note that the
+                sub-elements of this element should be as in the given order in
+                a sequence.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:element>
+
+    <xs:complexType name="jetty-configType">
+        <xs:sequence>
+            <xs:element name="host" type="xs:string" minOccurs="0"
+                maxOccurs="unbounded">
+                <xs:annotation>
+                    <xs:documentation>
+                        The host element maps the web application to this
+                        particular host name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="virtual-host" type="xs:string" minOccurs="0"
+                maxOccurs="unbounded">
+                <xs:annotation>
+                    <xs:documentation>
+                        The virtual-host element maps the web application to
+                        this particular host name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="session-manager" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The session-manager provides the fully qualified class
+                        name of the clustering implementation
+                        (org.codehaus.wadi.jetty5.JettyManager) used by this web
+                        application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+
+</xs:schema>

Added: geronimo/site/trunk/docs/xml/ns/web/tomcat/geronimo-tomcat-config-1.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/site/trunk/docs/xml/ns/web/tomcat/geronimo-tomcat-config-1.0.xsd?rev=579375&view=auto
==============================================================================
--- geronimo/site/trunk/docs/xml/ns/web/tomcat/geronimo-tomcat-config-1.0.xsd (added)
+++ geronimo/site/trunk/docs/xml/ns/web/tomcat/geronimo-tomcat-config-1.0.xsd Tue Sep 25 13:50:37 2007
@@ -0,0 +1,125 @@
+<?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:tomcat="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0"
+    targetNamespace="http://geronimo.apache.org/xml/ns/web/tomcat/config-1.0"
+    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 tomcat specific
+            configuration. It is a used as a sub part of the web application
+            deployment plan. The elements defined in this plan are included in
+            container-config element of web application plan. The top level
+            element included in container-config is tomcat with namespace
+            specified as
+            xmlns="http://geronimo.apache.org/xml/ns/j2ee/tomcat-config-1.0".
+            The default location for this document is
+            http://geronimo.apache.org/schemas-1.2/geronimo-tomcat-config-1.0.xsd
+        </xs:documentation>
+    </xs:annotation>
+    <xs:element name="tomcat" type="tomcat:tomcat-configType">
+        <xs:annotation>
+            <xs:documentation>
+                The tomcat element is the root of the deployment descriptor for
+                a tomcat specific configuration in web application. Note that
+                the sub-elements of this element should be as in the given order
+                in a sequence.
+            </xs:documentation>
+        </xs:annotation>
+    </xs:element>
+
+    <xs:complexType name="tomcat-configType">
+        <xs:sequence>
+            <xs:element name="host" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The host element maps the web application to this
+                        particular host name.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="cross-context" type="tomcat:emptyType"
+                minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The cross-context is an indicative element to specify
+                        that the web application will use dispatch request to
+                        other applications and this cross context should be
+                        enabled.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="disable-cookies" type="tomcat:emptyType"
+                minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The presence of disable-cookies element indicates the
+                        cookies will not be used by tomcat web application and
+                        should be disabled.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="valve-chain" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The valve-chain provides the list of first element
+                        tomcat valves chain for this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="listener-chain" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The listener-chain provides the list of first element
+                        tomcat lifecycle listener chain for this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="tomcat-realm" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The tomcat-realm provides the tomcat security realm used
+                        by this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="manager" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The manager provides the clustering implementation used
+                        by this web application.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+            <xs:element name="cluster" type="xs:string" minOccurs="0">
+                <xs:annotation>
+                    <xs:documentation>
+                        The cluster provides the name of cluster this web
+                        application belongs to.
+                    </xs:documentation>
+                </xs:annotation>
+            </xs:element>
+        </xs:sequence>
+    </xs:complexType>
+
+    <xs:complexType name="emptyType" />
+
+</xs:schema>