001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.config.sys;
017:
018: import javax.xml.bind.annotation.XmlRegistry;
019:
020: /**
021: * This object contains factory methods for each
022: * Java content interface and Java element interface
023: * generated in the org.apache.openejb.config.sys package.
024: * <p>An ObjectFactory allows you to programatically
025: * construct new instances of the Java representation
026: * for XML content. The Java representation of XML
027: * content can consist of schema derived interfaces
028: * and classes representing the binding of schema
029: * type definitions, element declarations and model
030: * groups. Factory methods for each of these are
031: * provided in this class.
032: */
033: @XmlRegistry
034: public class ObjectFactory {
035:
036: /**
037: * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.config.sys
038: */
039: public ObjectFactory() {
040: }
041:
042: /**
043: * Create an instance of {@link org.apache.openejb.config.sys.Container }
044: */
045: public Container createContainer() {
046: return new Container();
047: }
048:
049: /**
050: * Create an instance of {@link org.apache.openejb.config.sys.ConnectionManager }
051: */
052: public ConnectionManager createConnectionManager() {
053: return new ConnectionManager();
054: }
055:
056: /**
057: * Create an instance of {@link org.apache.openejb.config.sys.Resource }
058: */
059: public Resource createResource() {
060: return new Resource();
061: }
062:
063: /**
064: * Create an instance of {@link org.apache.openejb.config.sys.SecurityService }
065: */
066: public SecurityService createSecurityService() {
067: return new SecurityService();
068: }
069:
070: /**
071: * Create an instance of {@link org.apache.openejb.config.sys.JndiProvider }
072: */
073: public JndiProvider createJndiProvider() {
074: return new JndiProvider();
075: }
076:
077: /**
078: * Create an instance of {@link org.apache.openejb.config.sys.Deployments }
079: */
080: public Deployments createDeployments() {
081: return new Deployments();
082: }
083:
084: /**
085: * Create an instance of {@link org.apache.openejb.config.sys.Connector }
086: */
087: public Connector createConnector() {
088: return new Connector();
089: }
090:
091: /**
092: * Create an instance of {@link org.apache.openejb.config.sys.ProxyFactory }
093: */
094: public ProxyFactory createProxyFactory() {
095: return new ProxyFactory();
096: }
097:
098: /**
099: * Create an instance of {@link org.apache.openejb.config.sys.Openejb }
100: */
101: public Openejb createOpenejb() {
102: return new Openejb();
103: }
104:
105: /**
106: * Create an instance of {@link org.apache.openejb.config.sys.TransactionManager }
107: */
108: public TransactionManager createTransactionManager() {
109: return new TransactionManager();
110: }
111:
112: /**
113: * Create an instance of {@link ServiceProvider }
114: */
115: public ServiceProvider createServiceProvider() {
116: return new ServiceProvider();
117: }
118:
119: /**
120: * Create an instance of {@link ServicesJar }
121: */
122: public ServicesJar createServicesJar() {
123: return new ServicesJar();
124: }
125:
126: }
|