geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shiv...@apache.org
Subject svn commit: r634164 [3/12] - in /geronimo/devtools/eclipse-plugin/trunk: features/org.apache.geronimo.v21.feature/ plugins/ plugins/org.apache.geronimo.deployment.v11.jaxbmodel/ plugins/org.apache.geronimo.deployment.v11.jaxbmodel/META-INF/ plugins/org...
Date Thu, 06 Mar 2008 04:58:35 GMT
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v11.jaxbmodel/src/main/resources/openejb-pkgen-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v11.jaxbmodel/src/main/resources/openejb-pkgen-2.0.xsd?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v11.jaxbmodel/src/main/resources/openejb-pkgen-2.0.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v11.jaxbmodel/src/main/resources/openejb-pkgen-2.0.xsd Wed Mar  5 20:58:28 2008
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- ================================================================
+Redistribution and use of this software and associated documentation
+("Software"), with or without modification, are permitted provided
+that the following conditions are met:
+
+1. Redistributions of source code must retain copyright
+statements and notices.  Redistributions must also contain a
+copy of this document.
+
+2. Redistributions in binary form must reproduce this list of
+conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+3. The name "OpenEJB" must not be used to endorse or promote
+products derived from this Software without prior written
+permission of The OpenEJB Group.  For written permission,
+please contact openejb-group@openejb.sf.net.
+
+4. Products derived from this Software may not be called "OpenEJB"
+nor may "OpenEJB" appear in their names without prior written
+permission of The OpenEJB Group. OpenEJB is a registered
+trademark of The OpenEJB Group.
+
+5. Due credit should be given to the OpenEJB Project
+(http://openejb.org/).
+
+THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+THE OPENEJB GROUP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+====================================================================
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the OpenEJB Project.  For more information
+please see <http://openejb.org/>.
+
+================================================================ -->
+
+<xsd:schema
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+    xmlns:pkgen="http://www.openejb.org/xml/ns/pkgen-2.0"
+    targetNamespace="http://www.openejb.org/xml/ns/pkgen-2.0"
+    elementFormDefault="qualified"
+    attributeFormDefault="unqualified"
+    version="1.0">
+
+    <xsd:element name="key-generator" type="pkgen:key-generatorType"/>
+
+    <xsd:complexType name="key-generatorType">
+        <xsd:annotation>
+            <xsd:documentation>
+              Primary Key generation element.
+
+              If this is present, a key generator GBean will be created
+              and configured to generate IDs for the surrounding object.
+            </xsd:documentation>
+        </xsd:annotation>
+
+        <xsd:choice>
+<!-- Add this in as soon as TranQL has support.
+     I assume it needs some kind of token PK generator that just tells
+     it which column(s) in the table will be populated automatically
+     by a database feature (such as MySQL AUTO_INCREMENT columns or a
+     pre-insert trigger or whatever)
+            <xsd:element name="database-generated" type="pkgen:database-generatedType" /> -->
+            <xsd:element name="sequence-table" type="pkgen:sequence-tableType" />
+            <xsd:element name="auto-increment-table" type="pkgen:auto-increment-tableType" />
+            <xsd:element name="sql-generator" type="pkgen:sql-generatorType" />
+            <xsd:element name="custom-generator" type="pkgen:custom-generatorType" />
+        </xsd:choice>
+
+    </xsd:complexType>
+
+    <xsd:complexType name="database-generatedType" >
+        <xsd:annotation>
+            <xsd:documentation>
+                Indicates that the database automatically populates a primary key
+                ID in the listed column(s).  Typically this is used for columns
+                with an AUTO_INCREMENT flag or the equivalent.  This only makes
+                sense if this key generator is used for an EJB or something else
+                with a corresponding database table (not if it's meant to generate
+                unique web session IDs or something like that -- see
+                auto-increment-tableType for that case).
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="identity-column" type="xsd:string"
+                maxOccurs="unbounded"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="sequence-tableType" >
+        <xsd:annotation>
+            <xsd:documentation>
+                Indicates that a separate table holds a list of table name/ID
+                pairs and the server should fetch the next ID from that table.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="table-name" type="xsd:string"/>
+            <xsd:element name="sequence-name" type="xsd:string"/>
+            <xsd:element name="batch-size" type="xsd:int"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="sql-generatorType" >
+        <xsd:annotation>
+            <xsd:documentation>
+                Indicates that an arbitrary SQL statement should be used to
+                generate the next ID.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="sql" type="xsd:string"/>
+            <xsd:element name="return-type" type="xsd:string"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="auto-increment-tableType" >
+        <xsd:annotation>
+            <xsd:documentation>
+                Handles the case where an arbitrary SQL statement is executed,
+                and the JDBC driver returns a new automatically generated ID.
+                This should not be used when the destination table itself
+                generates the ID (see database-generatedType), but it could be
+                used for a web session ID or something where there is no
+                naturally matching database table (but you could create one
+                with an AUTO_INCREMENT key, specify an insert statement here,
+                and then capture the newly returned ID and use it as your
+                web session ID).
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="sql" type="xsd:string"/>
+            <xsd:element name="return-type" type="xsd:string"/>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="custom-generatorType" >
+        <xsd:annotation>
+            <xsd:documentation>
+                Handles a user-provided generator.  You deploy any old generator
+                as a GBean, and then point to that GBean here.  The generator
+                should implement org.tranql.pkgenerator.PrimaryKeyGenerator.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="generator-name" type="xsd:string"/>
+            <xsd:element name="primary-key-class" type="xsd:string"/>
+        </xsd:sequence>
+    </xsd:complexType>
+</xsd:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.classpath
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.classpath?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.classpath (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.classpath Wed Mar  5 20:58:28 2008
@@ -0,0 +1,7 @@
+<classpath>
+  <classpathentry kind="src" path="src"/>
+  <classpathentry kind="src" path="target/generated-sources/xjc"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+</classpath>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.project
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.project?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.project (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/.project Wed Mar  5 20:58:28 2008
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.apache.geronimo.deployment.v21.jaxbmodel</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.pde.PluginNature</nature>
+	</natures>
+</projectDescription>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/LICENSE
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/LICENSE?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/LICENSE (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/LICENSE Wed Mar  5 20:58:28 2008
@@ -0,0 +1,246 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   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.
+
+=========================================================================
+==  OPENEJB License                                                    ==
+=========================================================================
+
+OpenEJB License  Copyright 2001-2006 (C) The OpenEJB Group. All 
+Rights Reserved. This software consists of voluntary contributions made 
+by many individuals on behalf of the OpenEJB Project.  For more 
+information please see http://openejb.org/.
+
+Redistribution and use of this software and associated documentation 
+("Software"), with or without modification, are permitted provided that 
+the following conditions are met:
+
+1. Redistributions of source code must retain copyright statements and 
+   notices.  Redistributions must also contain a copy of this document.
+
+2. Redistributions in binary form must reproduce this list of conditions
+   and the following disclaimer in the documentation and/or other 
+   materials provided with the distribution.
+
+3. The name "OpenEJB" must not be used to endorse or promote products 
+   derived from this Software without prior written permission of The 
+   OpenEJB Group.  For written permission, please contact 
+   openejb-group@openejb.sf.net.
+
+4. Products derived from this Software may not be called "OpenEJB" nor may
+   "OpenEJB" appear in their names without prior written permission of The 
+   OpenEJB Group. OpenEJB is a registered trademark of The OpenEJB Group.
+
+5. Due credit should be given to the OpenEJB Project (http://openejb.org/).
+
+THIS SOFTWARE IS PROVIDED BY THE OPENEJB GROUP AND CONTRIBUTORS ``AS IS'' 
+AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ARE DISCLAIMED.  IN NO EVENT SHALL THE OPENEJB GROUP OR ITS CONTRIBUTORS BE 
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGE.
+

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/META-INF/MANIFEST.MF?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/META-INF/MANIFEST.MF (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/META-INF/MANIFEST.MF Wed Mar  5 20:58:28 2008
@@ -0,0 +1,26 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Geronimo V1 JAXB Models
+Bundle-SymbolicName: org.apache.geronimo.deployment.v21.jaxbmodel;singleton:=true
+Bundle-Version: 2.1.0
+Bundle-ClassPath: .
+Bundle-Vendor: Apache.org
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.apache.geronimo.runtime.common
+Export-Package: com.sun.java.xml.ns.persistence,
+ org.apache.geronimo.xml.ns.attributes_1,
+ org.apache.geronimo.xml.ns.credentialstore_1,
+ org.apache.geronimo.xml.ns.deployment.javabean_1,
+ org.apache.geronimo.xml.ns.deployment_1,
+ org.apache.geronimo.xml.ns.j2ee.application_2,
+ org.apache.geronimo.xml.ns.j2ee.application_client_2,
+ org.apache.geronimo.xml.ns.j2ee.connector_1,
+ org.apache.geronimo.xml.ns.j2ee.ejb.openejb_2,
+ org.apache.geronimo.xml.ns.j2ee.web_2_0,
+ org.apache.geronimo.xml.ns.loginconfig_2,
+ org.apache.geronimo.xml.ns.naming_1,
+ org.apache.geronimo.xml.ns.plugins_1,
+ org.apache.geronimo.xml.ns.security_1,
+ org.apache.geronimo.xml.ns.security_2,
+ org.apache.geronimo.xml.ns.subject_info_1

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/NOTICE
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/NOTICE?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/NOTICE (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/NOTICE Wed Mar  5 20:58:28 2008
@@ -0,0 +1,16 @@
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
+
+Portions of the Eclipse Geronimo Server Adapter were orginally developed by
+International Business Machines Corporation and are
+licensed to the Apache Software Foundation under the
+"Software Grant and Corporate Contribution License Agreement",
+informally known as the "Eclipse Geronimo Server Adapter CLA".
+
+=========================================================================
+==  OpenEJB Notice                                                     ==
+=========================================================================
+
+This product includes software created by the OpenEJB project (http://openejb.org/).
+
+     Copyright 2001-2006 (C) The OpenEJB Group. All Rights Reserved.

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/pom.xml?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/pom.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/pom.xml Wed Mar  5 20:58:28 2008
@@ -0,0 +1,83 @@
+<!--
+  ~ 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.
+  -->
+<!-- $Rev$ $Date$ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  
+  <artifactId>org.apache.geronimo.deployment.v21.jaxbmodel</artifactId>
+  <packaging>jar</packaging>
+  <name>${artifactId}</name>
+  <parent>
+      <groupId>org.apache.geronimo.devtools</groupId>
+      <artifactId>eclipse-plugins-parent</artifactId>
+      <version>2.1.0</version>
+      <relativePath>../pom.xml</relativePath>
+  </parent>
+    
+  <repositories>
+    <repository>
+        <id>java.net</id>
+        <name>java.net Maven Repository</name>
+        <url>https://maven-repository.dev.java.net/nonav/repository</url>
+        <layout>legacy</layout>
+    </repository>
+  </repositories>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>2.1</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+       <plugin>
+          <groupId>com.sun.tools.xjc.maven2</groupId>
+          <artifactId>maven-jaxb-plugin</artifactId>
+          <version>1.1</version>
+          <executions>
+            <execution>
+              <goals>
+                <goal>generate</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+              <strict>false</strict>
+              <args>-extension</args>
+          </configuration>
+       </plugin>
+       <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+          </configuration>
+       </plugin>
+    </plugins>
+  </build>
+</project>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/attributes-1.2.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/attributes-1.2.xsd?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/attributes-1.2.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/attributes-1.2.xsd Wed Mar  5 20:58:28 2008
@@ -0,0 +1,284 @@
+<?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.
+-->
+
+<!-- $Rev: 597481 $ $Date: 2007-11-23 03:25:03 +0800 (Fri, 23 Nov 2007) $ -->
+
+<xsd:schema targetNamespace="http://geronimo.apache.org/xml/ns/attributes-1.2"
+    xmlns:atts="http://geronimo.apache.org/xml/ns/attributes-1.2"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+    attributeFormDefault="unqualified">
+
+    <xsd:annotation>
+        <xsd:documentation>
+            This is an XML Schema Definition for storing manageable attribute
+            values. All the schema's or plans using elements of this schema must
+            specify the top level element with one of the namespace specified as
+            "http://geronimo.apache.org/xml/ns/j2ee/attributes-1.2". The default
+            location for this document is:
+            http://geronimo.apache.org/schemas-1.1/attributes-1.2.xsd.
+            The definition of the XML format for storing manageable attribute
+            values. Should look like this:
+            <![CDATA[
+            <attributes>
+                <comment>Comment for the whole attribute</comment>
+                <module name="mygroup/mycomponent/1.1/jar">
+                    <comment>Comment specific to the module</comment>
+                    <gbean name="MyNetworkService">
+                        <comment>Comment for the gbean</comment>
+                        <attribute name="host">0.0.0.0</attribute>
+                        <attribute name="port">1234</attribute>
+                    </gbean>
+                </module>
+            </attributes>
+            ]]>
+        </xsd:documentation>
+    </xsd:annotation>
+
+    <!-- Main element for the manageable attribute store configuration -->
+    <xsd:element name="attributes" type="atts:attributesType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Provides the definition of named attributes. Attributes are
+                mixed type and can include simple text and elements.
+            </xsd:documentation>
+        </xsd:annotation>
+    </xsd:element>
+    <xsd:element name="gbean" type="atts:gbeanType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Element used by the plugin system to list individual GBeans.
+                Note that the name attribute for a gbean element may hold either
+                the full GBeanName, or only the value for the "name=" portion of
+                the GBeanName. If there are multiple GBeans in the module with
+                manageable attributes and the same "name=" portion of the
+                GBeanName, then all must be listed and all must be listed with a
+                full GBeanName.
+            </xsd:documentation>
+        </xsd:annotation>
+    </xsd:element>
+    <xsd:element name="attribute" type="atts:attributeType">
+        <xsd:annotation>
+            <xsd:documentation>
+                gbean attribute as an element for ease in jaxb serialization to string.
+            </xsd:documentation>
+        </xsd:annotation>
+    </xsd:element>
+    <xsd:element name="comment" type="xsd:string"/>
+
+    <xsd:complexType name="attributesType">
+        <xsd:sequence>
+            <xsd:element name="comment" type="xsd:string" minOccurs="0"
+                maxOccurs="1" />
+            <xsd:choice>
+                <xsd:element name="module" type="atts:moduleType" minOccurs="0"
+                    maxOccurs="unbounded" />
+
+                <!-- The config.xml file in 1.0 use configuration instead of module -->
+                <xsd:element name="configuration" type="atts:moduleType"
+                   minOccurs="0" maxOccurs="unbounded" />
+            </xsd:choice>
+        </xsd:sequence>
+    </xsd:complexType>
+
+    <xsd:complexType name="moduleType">
+        <xsd:sequence>
+            <xsd:element name="comment" type="xsd:string" minOccurs="0"
+                maxOccurs="1" />
+            <xsd:element name="gbean" type="atts:gbeanType" minOccurs="0"
+                maxOccurs="unbounded" />
+        </xsd:sequence>
+        <xsd:attribute name="name" type="xsd:string" use="required" />
+        <xsd:attribute name="load" type="xsd:boolean" use="optional"
+            default="true" />
+        <xsd:attribute name="condition" type="xsd:string" use="optional" />
+    </xsd:complexType>
+
+    <xsd:complexType name="gbeanType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Element used by the plugin system to list individual GBeans.
+                Note that the name attribute for a gbean element may hold either
+                the full GBeanName, or only the value for the "name=" portion of
+                the GBeanName. If there are multiple GBeans in the module with
+                manageable attributes and the same "name=" portion of the
+                GBeanName, then all must be listed and all must be listed with a
+                full GBeanName.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:sequence>
+            <xsd:element name="comment" type="xsd:string" minOccurs="0"
+                maxOccurs="1" />
+            <xsd:choice minOccurs="0" maxOccurs="unbounded">
+                <xsd:element ref="atts:attribute" />
+                <xsd:element name="reference" type="atts:referenceType" />
+            </xsd:choice>
+        </xsd:sequence>
+        <xsd:attribute name="name" type="xsd:string" use="required">
+            <xsd:annotation>
+                <xsd:documentation>
+                    The name attribute specifies the name portion of the
+                    GBeanName.
+                </xsd:documentation>
+            </xsd:annotation>
+        </xsd:attribute>
+        <xsd:attribute name="gbeanInfo" type="xsd:string" use="optional">
+            <xsd:annotation>
+                <xsd:documentation>
+                    The gbeanInfo attribute provide the gbean infomation for
+                    specified GBean.
+                </xsd:documentation>
+            </xsd:annotation>
+        </xsd:attribute>
+        <xsd:attribute name="load" type="xsd:boolean" use="optional"
+            default="true">
+            <xsd:annotation>
+                <xsd:documentation>
+                    The load attribute specifies if the gbean is to be loaded or
+                    not.
+                </xsd:documentation>
+            </xsd:annotation>
+        </xsd:attribute>
+    </xsd:complexType>
+
+    <xsd:complexType name="attributeType">
+        <xsd:annotation>
+            <xsd:documentation>
+                Provides the definition of a single named attribute. Attributes
+                are mixed type and can include simple text and elements.
+            </xsd:documentation>
+        </xsd:annotation>
+        <xsd:complexContent mixed="true">
+            <xsd:restriction base="xsd:anyType">
+                <xsd:sequence>
+                    <xsd:any minOccurs="0" maxOccurs="unbounded"
+                        processContents="lax" />
+                </xsd:sequence>
+                <xsd:attribute name="name" use="required">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                            The name attribute provides the name of single
+                            attribute.
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:attribute>
+                <xsd:attribute name="null" use="optional" type="xsd:boolean" default="false">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                            The null attribute defines if this atribute is null
+                            or not.
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:attribute>
+                <xsd:attribute name="propertyEditor" use="optional" type="xsd:string">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                            The propertyEditor attribute defines the property editor class
+                            to be used to get the value of this attribute based on its
+                            string representation.
+                            
+                            If no editor is specified, then the type of the attribute, as
+                            declared by GBeanAttribute, is used to find a propertyEditor
+                            through the standard JavaBean search strategy.
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:attribute>
+                <!--<xsd:attribute name="value" use="optional">-->
+                    <!--<xsd:annotation>-->
+                        <!--<xsd:documentation>-->
+                            <!--The value attribute is the value of specified-->
+                            <!--attribute.-->
+                        <!--</xsd:documentation>-->
+                    <!--</xsd:annotation>-->
+                <!--</xsd:attribute>-->
+            </xsd:restriction>
+        </xsd:complexContent>
+    </xsd:complexType>
+
+    <xsd:complexType name="referenceType">
+        <xsd:sequence>
+            <xsd:element name="pattern" minOccurs="0" maxOccurs="unbounded">
+                <xsd:complexType>
+                    <xsd:sequence>
+                        <xsd:element name="groupId" type="xsd:string"
+                            minOccurs="0">
+                            <xsd:annotation>
+                                <xsd:documentation>
+                                    The name for group containing module to
+                                    match. By default is set to wild card '*'.
+                                </xsd:documentation>
+                            </xsd:annotation>
+                        </xsd:element>
+                        <xsd:element name="artifactId" type="xsd:string"
+                            minOccurs="0">
+                            <xsd:annotation>
+                                <xsd:documentation>
+                                    The name for module in a specified group to
+                                    be matched. All the artifactId's should be
+                                    unique within a group. If no articfactId is
+                                    provided it will be defaulted to file name
+                                    of the module file.
+                                </xsd:documentation>
+                            </xsd:annotation>
+                        </xsd:element>
+                        <xsd:element name="version" type="xsd:string"
+                            minOccurs="0">
+                            <xsd:annotation>
+                                <xsd:documentation>
+                                    The version number for the module formatted
+                                    by dot separated numbers. If no version is
+                                    provided it will be defaulted to latest
+                                    available version matching other criterions.
+                                </xsd:documentation>
+                            </xsd:annotation>
+                        </xsd:element>
+                        <xsd:element name="type" type="xsd:string"
+                            minOccurs="0">
+                            <xsd:annotation>
+                                <xsd:documentation>
+                                    This element defines the type of the module.
+                                    The type could be 'CAR', 'JAR', EAR', 'WAR'
+                                    etc. If no type is provided it will be
+                                    defaulted appropriately by the deployer
+                                    depending upon type of deployed module.
+                                </xsd:documentation>
+                            </xsd:annotation>
+                        </xsd:element>
+                        <xsd:element name="module" type="xsd:string"
+                            minOccurs="0">
+                            <xsd:annotation>
+                                <xsd:documentation>
+                                    The value specified here should match the
+                                    file name of the module referenced.
+                                </xsd:documentation>
+                            </xsd:annotation>
+                        </xsd:element>
+                        <xsd:element name="name" type="xsd:string">
+                            <xsd:annotation>
+                                <xsd:documentation>
+                                    The name element to identify the referenced
+                                    GBean by name.
+                                </xsd:documentation>
+                            </xsd:annotation>
+                        </xsd:element>
+                    </xsd:sequence>
+                </xsd:complexType>
+            </xsd:element>
+        </xsd:sequence>
+        <xsd:attribute name="name" type="xsd:string" />
+    </xsd:complexType>
+</xsd:schema>

Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-2.0.xsd?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-2.0.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-2.0.xsd Wed Mar  5 20:58:28 2008
@@ -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/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-client-2.0.xsd
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-client-2.0.xsd?rev=634164&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-client-2.0.xsd (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.deployment.v21.jaxbmodel/src/main/resources/geronimo-application-client-2.0.xsd Wed Mar  5 20:58:28 2008
@@ -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: 561259 $ $Date: 2007-07-31 16:11:06 +0800 (Tue, 31 Jul 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>



Mime
View raw message