KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > system > metadata > ServiceDeployment


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2006, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.system.metadata;
23
24 import java.util.List JavaDoc;
25
26 import org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfig;
27 import org.w3c.dom.Element JavaDoc;
28
29 /**
30  * ServiceDeployment.
31  *
32  * @author <a HREF="adrian@jboss.com">Adrian Brock</a>
33  * @version $Revision: 1.1 $
34  */

35 public class ServiceDeployment
36 {
37    /** The deployment name */
38    private String JavaDoc name;
39
40    /** The services */
41    private List JavaDoc<ServiceMetaData> services;
42    
43    /** The config */
44    private Element JavaDoc config;
45    
46    /** The loader repository config */
47    private LoaderRepositoryConfig loaderRepositoryConfig;
48
49    /** The classpaths */
50    private List JavaDoc<ServiceDeploymentClassPath> classPaths;
51    
52    /**
53     * Get the name.
54     *
55     * @return the name.
56     */

57    public String JavaDoc getName()
58    {
59       return name;
60    }
61
62    /**
63     * Set the name.
64     *
65     * @param name the name.
66     */

67    public void setName(String JavaDoc name)
68    {
69       this.name = name;
70    }
71
72    /**
73     * Get the services.
74     *
75     * @return the services.
76     */

77    public List JavaDoc<ServiceMetaData> getServices()
78    {
79       return services;
80    }
81
82    /**
83     * Set the services.
84     *
85     * @param services the services.
86     */

87    public void setServices(List JavaDoc<ServiceMetaData> services)
88    {
89       this.services = services;
90    }
91
92    /**
93     * Get the config.
94     *
95     * @return the config.
96     */

97    public Element JavaDoc getConfig()
98    {
99       return config;
100    }
101
102    /**
103     * Set the config.
104     *
105     * @param config the config.
106     */

107    public void setConfig(Element JavaDoc config)
108    {
109       this.config = config;
110    }
111
112    /**
113     * Get the loaderRepositoryConfig.
114     *
115     * @return the loaderRepositoryConfig.
116     */

117    public LoaderRepositoryConfig getLoaderRepositoryConfig()
118    {
119       return loaderRepositoryConfig;
120    }
121
122    /**
123     * Set the loaderRepositoryConfig.
124     *
125     * @param loaderRepositoryConfig the loaderRepositoryConfig.
126     */

127    public void setLoaderRepositoryConfig(LoaderRepositoryConfig loaderRepositoryConfig)
128    {
129       this.loaderRepositoryConfig = loaderRepositoryConfig;
130    }
131
132    /**
133     * Get the classPaths.
134     *
135     * @return the classPaths.
136     */

137    public List JavaDoc<ServiceDeploymentClassPath> getClassPaths()
138    {
139       return classPaths;
140    }
141
142    /**
143     * Set the classPaths.
144     *
145     * @param classPaths the classPaths.
146     */

147    public void setClassPaths(List JavaDoc<ServiceDeploymentClassPath> classPaths)
148    {
149       this.classPaths = classPaths;
150    }
151 }
152
Popular Tags