01: /**
02: *
03: * Licensed to the Apache Software Foundation (ASF) under one or more
04: * contributor license agreements. See the NOTICE file distributed with
05: * this work for additional information regarding copyright ownership.
06: * The ASF licenses this file to You under the Apache License, Version 2.0
07: * (the "License"); you may not use this file except in compliance with
08: * the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */package org.apache.openejb.config.sys;
18:
19: import javax.xml.bind.annotation.XmlAccessType;
20: import javax.xml.bind.annotation.XmlAccessorType;
21: import javax.xml.bind.annotation.XmlAttribute;
22: import javax.xml.bind.annotation.XmlRootElement;
23: import javax.xml.bind.annotation.XmlType;
24:
25: /**
26: * <p>Java class for anonymous complex type.
27: * <p/>
28: * <p>The following schema fragment specifies the expected content contained within this class.
29: * <p/>
30: * <pre>
31: * <complexType>
32: * <simpleContent>
33: * <extension base="<http://www.w3.org/2001/XMLSchema>string">
34: * <attribute name="ctype" use="required" type="{http://www.openejb.org/System/Configuration}ContainerTypes" />
35: * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
36: * <attribute name="jar" type="{http://www.openejb.org/System/Configuration}JarFileLocation" />
37: * <attribute name="provider" type="{http://www.w3.org/2001/XMLSchema}string" />
38: * </extension>
39: * </simpleContent>
40: * </complexType>
41: * </pre>
42: */
43: @XmlAccessorType(XmlAccessType.PROPERTY)
44: @XmlType(name="")
45: @XmlRootElement(name="Container")
46: public class Container extends AbstractService {
47:
48: public Container(String id) {
49: super (id);
50: }
51:
52: public Container(String id, String type, String provider) {
53: super (id, type, provider);
54: }
55:
56: public Container() {
57: }
58:
59: /**
60: * Gets the value of the ctype property.
61: *
62: * @return possible object is
63: * {@link String }
64: * @deprecated use getType instead
65: */
66: public String getCtype() {
67: return null;
68: }
69:
70: /**
71: * Sets the value of the ctype property.
72: *
73: * @param value allowed object is
74: * {@link String }
75: */
76: @XmlAttribute
77: public void setCtype(String value) {
78: setType(value);
79: }
80: }
|