You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by de...@apache.org on 2010/09/13 18:59:26 UTC
svn commit: r996601 [12/25] - in
/geronimo/devtools/eclipse-plugin/trunk/plugins:
org.apache.geronimo.st.schemas/v30/ org.apache.geronimo.st.v11.ui/META-INF/
org.apache.geronimo.st.v30.core/META-INF/
org.apache.geronimo.st.v30.jaxbmodel/META-INF/ org.a...
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Application.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Application.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Application.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Application.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,282 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.application;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.deployment.AbstractService;
+import org.apache.geronimo.jee.deployment.Environment;
+import org.apache.geronimo.jee.deployment.Gbean;
+import org.apache.geronimo.jee.security.SecurityRef;
+
+
+/**
+ *
+ * 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.
+ *
+ *
+ * <p>Java class for applicationType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="applicationType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}environment"/>
+ * <element name="module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}moduleType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="ext-module" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}ext-moduleType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}security" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="application-name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "applicationType", propOrder = {
+ "environment",
+ "module",
+ "extModule",
+ "security",
+ "service"
+})
+public class Application
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", required = true)
+ protected Environment environment;
+ protected List<Module> module;
+ @XmlElement(name = "ext-module")
+ protected List<ExtModule> extModule;
+ @XmlElementRef(name = "security", namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", type = JAXBElement.class)
+ protected JAXBElement<? extends AbstractSecurity> security;
+ @XmlElementRef(name = "service", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", type = JAXBElement.class)
+ protected List<JAXBElement<? extends AbstractService>> service;
+ @XmlAttribute(name = "application-name")
+ protected java.lang.String applicationName;
+
+ /**
+ *
+ * Reference to environment element defined in imported
+ * "geronimo-module-1.2.xsd"
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Environment }
+ *
+ */
+ public Environment getEnvironment() {
+ return environment;
+ }
+
+ /**
+ *
+ * Reference to environment element defined in imported
+ * "geronimo-module-1.2.xsd"
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Environment }
+ *
+ */
+ public void setEnvironment(Environment value) {
+ this.environment = value;
+ }
+
+ /**
+ * Gets the value of the module property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the module property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getModule().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Module }
+ *
+ *
+ */
+ public List<Module> getModule() {
+ if (module == null) {
+ module = new ArrayList<Module>();
+ }
+ return this.module;
+ }
+
+ /**
+ * Gets the value of the extModule property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the extModule property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtModule().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ExtModule }
+ *
+ *
+ */
+ public List<ExtModule> getExtModule() {
+ if (extModule == null) {
+ extModule = new ArrayList<ExtModule>();
+ }
+ return this.extModule;
+ }
+
+ /**
+ *
+ * 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.
+ *
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.subject_info.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.Security.ns.security_1.SecurityType }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.security.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link AbstractSecurity }{@code >}
+ * {@link JAXBElement }{@code <}{@link SecurityRef }{@code >}
+ *
+ */
+ public JAXBElement<? extends AbstractSecurity> getSecurity() {
+ return security;
+ }
+
+ /**
+ *
+ * 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.
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.subject_info.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.Security.ns.security_1.SecurityType }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.apache.geronimo.jee.security.Security }{@code >}
+ * {@link JAXBElement }{@code <}{@link AbstractSecurity }{@code >}
+ * {@link JAXBElement }{@code <}{@link SecurityRef }{@code >}
+ *
+ */
+ public void setSecurity(JAXBElement<? extends AbstractSecurity> value) {
+ this.security = ((JAXBElement<? extends AbstractSecurity> ) value);
+ }
+
+ /**
+ *
+ * Reference to service element defined in imported
+ * "geronimo-module-1.2.xsd".
+ * Gets the value of the service property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the service property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getService().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link AbstractService }{@code >}
+ * {@link JAXBElement }{@code <}{@link Gbean }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<? extends AbstractService>> getService() {
+ if (service == null) {
+ service = new ArrayList<JAXBElement<? extends AbstractService>>();
+ }
+ return this.service;
+ }
+
+ /**
+ * Gets the value of the applicationName property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getApplicationName() {
+ return applicationName;
+ }
+
+ /**
+ * Sets the value of the applicationName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setApplicationName(java.lang.String value) {
+ this.applicationName = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ExtModule.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ExtModule.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ExtModule.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ExtModule.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,266 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.application;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+import org.apache.geronimo.jee.deployment.Pattern;
+import org.w3c.dom.Element;
+
+
+/**
+ *
+ * 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.
+ *
+ *
+ * <p>Java class for ext-moduleType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ext-moduleType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice>
+ * <element name="connector" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <element name="ejb" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <element name="java" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <element name="web" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * </choice>
+ * <choice>
+ * <element name="internal-path" type="{http://www.w3.org/2001/XMLSchema}token"/>
+ * <element name="external-path" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}patternType"/>
+ * </choice>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ext-moduleType", propOrder = {
+ "connector",
+ "ejb",
+ "java",
+ "web",
+ "internalPath",
+ "externalPath",
+ "any"
+})
+public class ExtModule
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected Path connector;
+ protected Path ejb;
+ protected Path java;
+ protected Path web;
+ @XmlElement(name = "internal-path")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected java.lang.String internalPath;
+ @XmlElement(name = "external-path")
+ protected Pattern externalPath;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+
+ /**
+ * Gets the value of the connector property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getConnector() {
+ return connector;
+ }
+
+ /**
+ * Sets the value of the connector property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setConnector(Path value) {
+ this.connector = value;
+ }
+
+ /**
+ * Gets the value of the ejb property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getEjb() {
+ return ejb;
+ }
+
+ /**
+ * Sets the value of the ejb property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setEjb(Path value) {
+ this.ejb = value;
+ }
+
+ /**
+ * Gets the value of the java property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getJava() {
+ return java;
+ }
+
+ /**
+ * Sets the value of the java property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setJava(Path value) {
+ this.java = value;
+ }
+
+ /**
+ * Gets the value of the web property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getWeb() {
+ return web;
+ }
+
+ /**
+ * Sets the value of the web property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setWeb(Path value) {
+ this.web = value;
+ }
+
+ /**
+ * Gets the value of the internalPath property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getInternalPath() {
+ return internalPath;
+ }
+
+ /**
+ * Sets the value of the internalPath property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setInternalPath(java.lang.String value) {
+ this.internalPath = value;
+ }
+
+ /**
+ * Gets the value of the externalPath property.
+ *
+ * @return
+ * possible object is
+ * {@link Pattern }
+ *
+ */
+ public Pattern getExternalPath() {
+ return externalPath;
+ }
+
+ /**
+ * Sets the value of the externalPath property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Pattern }
+ *
+ */
+ public void setExternalPath(Pattern value) {
+ this.externalPath = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Module.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Module.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Module.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Module.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,233 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.application;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ *
+ * 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.
+ *
+ *
+ * <p>Java class for moduleType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="moduleType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice>
+ * <element name="connector" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <element name="ejb" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <element name="java" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <element name="web" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * </choice>
+ * <choice>
+ * <element name="alt-dd" type="{http://geronimo.apache.org/xml/ns/j2ee/application-2.0}pathType"/>
+ * <any/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "moduleType", propOrder = {
+ "connector",
+ "ejb",
+ "java",
+ "web",
+ "altDd",
+ "any"
+})
+public class Module
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected Path connector;
+ protected Path ejb;
+ protected Path java;
+ protected Path web;
+ @XmlElement(name = "alt-dd")
+ protected Path altDd;
+ @XmlAnyElement(lax = true)
+ protected Object any;
+
+ /**
+ * Gets the value of the connector property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getConnector() {
+ return connector;
+ }
+
+ /**
+ * Sets the value of the connector property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setConnector(Path value) {
+ this.connector = value;
+ }
+
+ /**
+ * Gets the value of the ejb property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getEjb() {
+ return ejb;
+ }
+
+ /**
+ * Sets the value of the ejb property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setEjb(Path value) {
+ this.ejb = value;
+ }
+
+ /**
+ * Gets the value of the java property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getJava() {
+ return java;
+ }
+
+ /**
+ * Sets the value of the java property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setJava(Path value) {
+ this.java = value;
+ }
+
+ /**
+ * Gets the value of the web property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getWeb() {
+ return web;
+ }
+
+ /**
+ * Sets the value of the web property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setWeb(Path value) {
+ this.web = value;
+ }
+
+ /**
+ * Gets the value of the altDd property.
+ *
+ * @return
+ * possible object is
+ * {@link Path }
+ *
+ */
+ public Path getAltDd() {
+ return altDd;
+ }
+
+ /**
+ * Sets the value of the altDd property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Path }
+ *
+ */
+ public void setAltDd(Path value) {
+ this.altDd = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public Object getAny() {
+ return any;
+ }
+
+ /**
+ * Sets the value of the any property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ *
+ */
+ public void setAny(Object value) {
+ this.any = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ObjectFactory.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ObjectFactory.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/ObjectFactory.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,121 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.application;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.geronimo.xml.ns.j2ee.application_2 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Security_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-2.0", "security");
+ private final static QName _Clustering_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-2.0", "clustering");
+ private final static QName _Application_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-2.0", "application");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.geronimo.xml.ns.j2ee.application_2
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Module }
+ *
+ */
+ public Module createModule() {
+ return new Module();
+ }
+
+ /**
+ * Create an instance of {@link String }
+ *
+ */
+ public String createString() {
+ return new String();
+ }
+
+ /**
+ * Create an instance of {@link ExtModule }
+ *
+ */
+ public ExtModule createExtModule() {
+ return new ExtModule();
+ }
+
+ /**
+ * Create an instance of {@link Path }
+ *
+ */
+ public Path createPath() {
+ return new Path();
+ }
+
+ /**
+ * Create an instance of {@link Application }
+ *
+ */
+ public Application createApplication() {
+ return new Application();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AbstractSecurity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", name = "security")
+ public JAXBElement<AbstractSecurity> createSecurity(AbstractSecurity value) {
+ return new JAXBElement<AbstractSecurity>(_Security_QNAME, AbstractSecurity.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link AbstractClustering }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", name = "clustering")
+ public JAXBElement<AbstractClustering> createClustering(AbstractClustering value) {
+ return new JAXBElement<AbstractClustering>(_Clustering_QNAME, AbstractClustering.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Application }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", name = "application")
+ public JAXBElement<Application> createApplication(Application value) {
+ return new JAXBElement<Application>(_Application_QNAME, Application.class, null, value);
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Path.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Path.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Path.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/Path.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,53 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.application;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Mirrors j2ee:pathType.
+ *
+ * <p>Java class for pathType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="pathType">
+ * <simpleContent>
+ * <restriction base="<http://geronimo.apache.org/xml/ns/j2ee/application-2.0>string">
+ * </restriction>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "pathType")
+public class Path
+ extends StringType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/StringType.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/StringType.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/StringType.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/StringType.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,115 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.application;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlID;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+
+
+/**
+ * Mirrors j2ee:string.
+ *
+ * <p>Java class for string complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="string">
+ * <simpleContent>
+ * <extension base="<http://www.w3.org/2001/XMLSchema>token">
+ * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ * </extension>
+ * </simpleContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "string", propOrder = {
+ "value"
+})
+public class StringType
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlValue
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ protected java.lang.String value;
+ @XmlAttribute
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ protected java.lang.String id;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setValue(java.lang.String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link java.lang.String }
+ *
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link java.lang.String }
+ *
+ */
+ public void setId(java.lang.String value) {
+ this.id = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/package-info.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/package-info.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/application/package-info.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,19 @@
+/*
+ * 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.
+ */
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-2.0", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.geronimo.jee.application;
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ApplicationClient.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ApplicationClient.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ApplicationClient.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ApplicationClient.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,516 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.applicationclient;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.deployment.AbstractService;
+import org.apache.geronimo.jee.deployment.Environment;
+import org.apache.geronimo.jee.deployment.Gbean;
+import org.apache.geronimo.jee.naming.EjbRef;
+import org.apache.geronimo.jee.naming.GbeanRef;
+import org.apache.geronimo.jee.naming.MessageDestination;
+import org.apache.geronimo.jee.naming.ResourceEnvRef;
+import org.apache.geronimo.jee.naming.ResourceRef;
+import org.apache.geronimo.jee.naming.ServiceRef;
+import org.apache.geronimo.jee.security.SubjectInfo;
+
+
+/**
+ * <p>Java class for application-clientType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="application-clientType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}client-environment"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}server-environment"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}gbean-ref" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}ejb-ref" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}service-ref" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}resource-ref" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}resource-env-ref" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/naming-1.2}message-destination" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/security-2.0}default-subject" minOccurs="0"/>
+ * <sequence minOccurs="0">
+ * <element name="realm-name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="callback-handler" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * <element name="resource" type="{http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0}resourceType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://geronimo.apache.org/xml/ns/deployment-1.2}service" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "application-clientType", propOrder = {
+ "clientEnvironment",
+ "serverEnvironment",
+ "gbeanRef",
+ "ejbRef",
+ "serviceRef",
+ "resourceRef",
+ "resourceEnvRef",
+ "messageDestination",
+ "defaultSubject",
+ "realmName",
+ "callbackHandler",
+ "resource",
+ "service"
+})
+public class ApplicationClient
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "client-environment", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", required = true)
+ protected Environment clientEnvironment;
+ @XmlElement(name = "server-environment", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", required = true)
+ protected Environment serverEnvironment;
+ @XmlElement(name = "gbean-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<GbeanRef> gbeanRef;
+ @XmlElement(name = "ejb-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<EjbRef> ejbRef;
+ @XmlElement(name = "service-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<ServiceRef> serviceRef;
+ @XmlElement(name = "resource-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<ResourceRef> resourceRef;
+ @XmlElement(name = "resource-env-ref", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<ResourceEnvRef> resourceEnvRef;
+ @XmlElement(name = "message-destination", namespace = "http://geronimo.apache.org/xml/ns/naming-1.2")
+ protected List<MessageDestination> messageDestination;
+ @XmlElement(name = "default-subject", namespace = "http://geronimo.apache.org/xml/ns/security-2.0")
+ protected SubjectInfo defaultSubject;
+ @XmlElement(name = "realm-name")
+ protected String realmName;
+ @XmlElement(name = "callback-handler")
+ protected String callbackHandler;
+ protected List<Resource> resource;
+ @XmlElementRef(name = "service", namespace = "http://geronimo.apache.org/xml/ns/deployment-1.2", type = JAXBElement.class)
+ protected List<JAXBElement<? extends AbstractService>> service;
+
+ /**
+ *
+ * Reference to client-environment element defined in
+ * imported "geronimo-module-1.2.xsd"
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Environment }
+ *
+ */
+ public Environment getClientEnvironment() {
+ return clientEnvironment;
+ }
+
+ /**
+ *
+ * Reference to client-environment element defined in
+ * imported "geronimo-module-1.2.xsd"
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Environment }
+ *
+ */
+ public void setClientEnvironment(Environment value) {
+ this.clientEnvironment = value;
+ }
+
+ /**
+ *
+ * Reference to server-environment element defined in
+ * imported "geronimo-module-1.2.xsd"
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Environment }
+ *
+ */
+ public Environment getServerEnvironment() {
+ return serverEnvironment;
+ }
+
+ /**
+ *
+ * Reference to server-environment element defined in
+ * imported "geronimo-module-1.2.xsd"
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Environment }
+ *
+ */
+ public void setServerEnvironment(Environment value) {
+ this.serverEnvironment = value;
+ }
+
+ /**
+ *
+ * Reference to gbean-ref element defined in imported
+ * "geronimo-naming-1.2.xsd"
+ * Gets the value of the gbeanRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the gbeanRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGbeanRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link GbeanRef }
+ *
+ *
+ */
+ public List<GbeanRef> getGbeanRef() {
+ if (gbeanRef == null) {
+ gbeanRef = new ArrayList<GbeanRef>();
+ }
+ return this.gbeanRef;
+ }
+
+ /**
+ *
+ * Reference to ejb-ref element defined in imported
+ * "geronimo-naming-1.2.xsd"
+ * Gets the value of the ejbRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEjbRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EjbRef }
+ *
+ *
+ */
+ public List<EjbRef> getEjbRef() {
+ if (ejbRef == null) {
+ ejbRef = new ArrayList<EjbRef>();
+ }
+ return this.ejbRef;
+ }
+
+ /**
+ *
+ * Reference to service-ref element defined in imported
+ * "geronimo-naming-1.2.xsd"
+ * Gets the value of the serviceRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getServiceRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ServiceRef }
+ *
+ *
+ */
+ public List<ServiceRef> getServiceRef() {
+ if (serviceRef == null) {
+ serviceRef = new ArrayList<ServiceRef>();
+ }
+ return this.serviceRef;
+ }
+
+ /**
+ *
+ * Reference to resource-ref element defined in imported
+ * "geronimo-naming-1.2.xsd"
+ * Gets the value of the resourceRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceRef }
+ *
+ *
+ */
+ public List<ResourceRef> getResourceRef() {
+ if (resourceRef == null) {
+ resourceRef = new ArrayList<ResourceRef>();
+ }
+ return this.resourceRef;
+ }
+
+ /**
+ *
+ * Reference to resource-env-ref element defined in
+ * imported "geronimo-naming-1.2.xsd"
+ * Gets the value of the resourceEnvRef property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResourceEnvRef().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ResourceEnvRef }
+ *
+ *
+ */
+ public List<ResourceEnvRef> getResourceEnvRef() {
+ if (resourceEnvRef == null) {
+ resourceEnvRef = new ArrayList<ResourceEnvRef>();
+ }
+ return this.resourceEnvRef;
+ }
+
+ /**
+ *
+ * Reference to message-destination element defined in
+ * imported "geronimo-naming-1.2.xsd"
+ * Gets the value of the messageDestination property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the messageDestination property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessageDestination().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MessageDestination }
+ *
+ *
+ */
+ public List<MessageDestination> getMessageDestination() {
+ if (messageDestination == null) {
+ messageDestination = new ArrayList<MessageDestination>();
+ }
+ return this.messageDestination;
+ }
+
+ /**
+ *
+ * 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.
+ *
+ *
+ * @return
+ * possible object is
+ * {@link SubjectInfo }
+ *
+ */
+ public SubjectInfo getDefaultSubject() {
+ return defaultSubject;
+ }
+
+ /**
+ *
+ * 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.
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link SubjectInfo }
+ *
+ */
+ public void setDefaultSubject(SubjectInfo value) {
+ this.defaultSubject = value;
+ }
+
+ /**
+ * Gets the value of the realmName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRealmName() {
+ return realmName;
+ }
+
+ /**
+ * Sets the value of the realmName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRealmName(String value) {
+ this.realmName = value;
+ }
+
+ /**
+ * Gets the value of the callbackHandler property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCallbackHandler() {
+ return callbackHandler;
+ }
+
+ /**
+ * Sets the value of the callbackHandler property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCallbackHandler(String value) {
+ this.callbackHandler = value;
+ }
+
+ /**
+ * Gets the value of the resource property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the resource property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getResource().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Resource }
+ *
+ *
+ */
+ public List<Resource> getResource() {
+ if (resource == null) {
+ resource = new ArrayList<Resource>();
+ }
+ return this.resource;
+ }
+
+ /**
+ *
+ * Reference to service element defined in imported
+ * "geronimo-module-1.2.xsd"
+ * Gets the value of the service property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the service property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getService().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link AbstractService }{@code >}
+ * {@link JAXBElement }{@code <}{@link Gbean }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<? extends AbstractService>> getService() {
+ if (service == null) {
+ service = new ArrayList<JAXBElement<? extends AbstractService>>();
+ }
+ return this.service;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ObjectFactory.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ObjectFactory.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ObjectFactory.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/ObjectFactory.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,77 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.applicationclient;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.apache.geronimo.xml.ns.j2ee.application_client_2 package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ApplicationClient_QNAME = new QName("http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0", "application-client");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.geronimo.xml.ns.j2ee.application_client_2
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Resource }
+ *
+ */
+ public Resource createResource() {
+ return new Resource();
+ }
+
+ /**
+ * Create an instance of {@link ApplicationClient }
+ *
+ */
+ public ApplicationClient createApplicationClient() {
+ return new ApplicationClient();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ApplicationClient }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0", name = "application-client")
+ public JAXBElement<ApplicationClient> createApplicationClient(ApplicationClient value) {
+ return new JAXBElement<ApplicationClient>(_ApplicationClient_QNAME, ApplicationClient.class, null, value);
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/Resource.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/Resource.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/Resource.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/Resource.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,153 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.applicationclient;
+
+import java.io.Serializable;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+import org.apache.geronimo.jee.connector.Connector;
+import org.apache.geronimo.jee.deployment.Pattern;
+
+
+/**
+ * <p>Java class for resourceType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="resourceType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <choice>
+ * <element name="external-rar" type="{http://geronimo.apache.org/xml/ns/deployment-1.2}patternType"/>
+ * <element name="internal-rar" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <element ref="{http://geronimo.apache.org/xml/ns/j2ee/connector-1.2}connector"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "resourceType", propOrder = {
+ "externalRar",
+ "internalRar",
+ "connector"
+})
+public class Resource
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlElement(name = "external-rar")
+ protected Pattern externalRar;
+ @XmlElement(name = "internal-rar")
+ protected String internalRar;
+ @XmlElement(namespace = "http://geronimo.apache.org/xml/ns/j2ee/connector-1.2", required = true)
+ protected Connector connector;
+
+ /**
+ * Gets the value of the externalRar property.
+ *
+ * @return
+ * possible object is
+ * {@link Pattern }
+ *
+ */
+ public Pattern getExternalRar() {
+ return externalRar;
+ }
+
+ /**
+ * Sets the value of the externalRar property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Pattern }
+ *
+ */
+ public void setExternalRar(Pattern value) {
+ this.externalRar = value;
+ }
+
+ /**
+ * Gets the value of the internalRar property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInternalRar() {
+ return internalRar;
+ }
+
+ /**
+ * Sets the value of the internalRar property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInternalRar(String value) {
+ this.internalRar = value;
+ }
+
+ /**
+ *
+ * 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.
+ *
+ *
+ * @return
+ * possible object is
+ * {@link Connector }
+ *
+ */
+ public Connector getConnector() {
+ return connector;
+ }
+
+ /**
+ *
+ * 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.
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Connector }
+ *
+ */
+ public void setConnector(Connector value) {
+ this.connector = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/package-info.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/package-info.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/package-info.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/applicationclient/package-info.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,19 @@
+/*
+ * 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.
+ */
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.apache.geronimo.jee.applicationclient;
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attribute.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attribute.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attribute.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attribute.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,187 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.attributes;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ *
+ * Provides the definition of a single named attribute. Attributes
+ * are mixed type and can include simple text and elements.
+ *
+ *
+ * <p>Java class for attributeType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="attributeType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * <attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ * <attribute name="propertyEditor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "attributeType", propOrder = {
+ "content"
+})
+public class Attribute implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute(name = "null")
+ protected Boolean _null;
+ @XmlAttribute
+ protected String propertyEditor;
+
+ /**
+ *
+ * Provides the definition of a single named attribute. Attributes
+ * are mixed type and can include simple text and elements.
+ * Gets the value of the content property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the null property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isNull() {
+ if (_null == null) {
+ return false;
+ } else {
+ return _null;
+ }
+ }
+
+ /**
+ * Sets the value of the null property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setNull(Boolean value) {
+ this._null = value;
+ }
+
+ /**
+ * Gets the value of the propertyEditor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPropertyEditor() {
+ return propertyEditor;
+ }
+
+ /**
+ * Sets the value of the propertyEditor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPropertyEditor(String value) {
+ this.propertyEditor = value;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attributes.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attributes.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attributes.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Attributes.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,148 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.attributes;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for attributesType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="attributesType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <choice>
+ * <element name="module" type="{http://geronimo.apache.org/xml/ns/attributes-1.2}moduleType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="configuration" type="{http://geronimo.apache.org/xml/ns/attributes-1.2}moduleType" maxOccurs="unbounded" minOccurs="0"/>
+ * </choice>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "attributesType", propOrder = {
+ "comment",
+ "module",
+ "configuration"
+})
+public class Attributes
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected String comment;
+ protected List<Module> module;
+ protected List<Module> configuration;
+
+ /**
+ * Gets the value of the comment property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getComment() {
+ return comment;
+ }
+
+ /**
+ * Sets the value of the comment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setComment(String value) {
+ this.comment = value;
+ }
+
+ /**
+ * Gets the value of the module property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the module property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getModule().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Module }
+ *
+ *
+ */
+ public List<Module> getModule() {
+ if (module == null) {
+ module = new ArrayList<Module>();
+ }
+ return this.module;
+ }
+
+ /**
+ * Gets the value of the configuration property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the configuration property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConfiguration().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Module }
+ *
+ *
+ */
+ public List<Module> getConfiguration() {
+ if (configuration == null) {
+ configuration = new ArrayList<Module>();
+ }
+ return this.configuration;
+ }
+
+}
Added: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Gbean.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Gbean.java?rev=996601&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Gbean.java (added)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v30.jaxbmodel/src/main/java/org/apache/geronimo/jee/attributes/Gbean.java Mon Sep 13 16:59:20 2010
@@ -0,0 +1,220 @@
+/*
+ * 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.
+ */
+
+package org.apache.geronimo.jee.attributes;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ *
+ * 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.
+ *
+ *
+ * <p>Java class for gbeanType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="gbeanType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://geronimo.apache.org/xml/ns/attributes-1.2}attribute"/>
+ * <element name="reference" type="{http://geronimo.apache.org/xml/ns/attributes-1.2}referenceType"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="gbeanInfo" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="load" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "gbeanType", propOrder = {
+ "comment",
+ "attributeOrReference"
+})
+public class Gbean
+ implements Serializable
+{
+
+ private final static long serialVersionUID = 12343L;
+ protected String comment;
+ @XmlElements({
+ @XmlElement(name = "attribute", type = Attribute.class),
+ @XmlElement(name = "reference", type = Reference.class)
+ })
+ protected List<Serializable> attributeOrReference;
+ @XmlAttribute
+ protected String gbeanInfo;
+ @XmlAttribute
+ protected Boolean load;
+ @XmlAttribute(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the comment property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getComment() {
+ return comment;
+ }
+
+ /**
+ * Sets the value of the comment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setComment(String value) {
+ this.comment = value;
+ }
+
+ /**
+ * Gets the value of the attributeOrReference property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attributeOrReference property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttributeOrReference().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Attribute }
+ * {@link Reference }
+ *
+ *
+ */
+ public List<Serializable> getAttributeOrReference() {
+ if (attributeOrReference == null) {
+ attributeOrReference = new ArrayList<Serializable>();
+ }
+ return this.attributeOrReference;
+ }
+
+ /**
+ * Gets the value of the gbeanInfo property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGbeanInfo() {
+ return gbeanInfo;
+ }
+
+ /**
+ * Sets the value of the gbeanInfo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGbeanInfo(String value) {
+ this.gbeanInfo = value;
+ }
+
+ /**
+ * Gets the value of the load property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public boolean isLoad() {
+ if (load == null) {
+ return true;
+ } else {
+ return load;
+ }
+ }
+
+ /**
+ * Sets the value of the load property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLoad(Boolean value) {
+ this.load = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}