001: /**
002: *
003: * Licensed to the Apache Software Foundation (ASF) under one or more
004: * contributor license agreements. See the NOTICE file distributed with
005: * this work for additional information regarding copyright ownership.
006: * The ASF licenses this file to You under the Apache License, Version 2.0
007: * (the "License"); you may not use this file except in compliance with
008: * the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing, software
013: * distributed under the License is distributed on an "AS IS" BASIS,
014: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015: * See the License for the specific language governing permissions and
016: * limitations under the License.
017: */package org.apache.openejb.config.sys;
018:
019: import javax.xml.bind.annotation.XmlAccessType;
020: import javax.xml.bind.annotation.XmlAccessorType;
021: import javax.xml.bind.annotation.XmlAttribute;
022: import javax.xml.bind.annotation.XmlRootElement;
023: import javax.xml.bind.annotation.XmlTransient;
024: import javax.xml.bind.annotation.XmlType;
025:
026: /**
027: * <p>Java class for anonymous complex type.
028: * <p/>
029: * <p>The following schema fragment specifies the expected content contained within this class.
030: * <p/>
031: * <pre>
032: * <complexType>
033: * <complexContent>
034: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
035: * <attribute name="dir" type="{http://www.w3.org/2001/XMLSchema}string" />
036: * <attribute name="jar" type="{http://www.openejb.org/System/Configuration}JarFileLocation" />
037: * </restriction>
038: * </complexContent>
039: * </complexType>
040: * </pre>
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="")
044: @XmlRootElement(name="Deployments")
045: public class Deployments {
046:
047: @XmlAttribute
048: protected String dir;
049: @XmlAttribute
050: protected String jar;
051: @XmlTransient
052: protected ClassLoader classpath;
053:
054: /**
055: * Gets the value of the dir property.
056: *
057: * @return possible object is
058: * {@link String }
059: */
060: public String getDir() {
061: return dir;
062: }
063:
064: /**
065: * Sets the value of the dir property.
066: *
067: * @param value allowed object is
068: * {@link String }
069: */
070: public void setDir(String value) {
071: this .dir = value;
072: }
073:
074: /**
075: * Gets the value of the jar property.
076: *
077: * @return possible object is
078: * {@link String }
079: */
080: public String getJar() {
081: return jar;
082: }
083:
084: /**
085: * Sets the value of the jar property.
086: *
087: * @param value allowed object is
088: * {@link String }
089: */
090: public void setJar(String value) {
091: this .jar = value;
092: }
093:
094: public ClassLoader getClasspath() {
095: return classpath;
096: }
097:
098: public void setClasspath(ClassLoader classpath) {
099: this.classpath = classpath;
100: }
101: }
|