View Javadoc
1   /*
2    * Created on May 8, 2004
3    * 
4    * This library is free software; you can redistribute it and/or
5    * modify it under the terms of the GNU Lesser General Public
6    * License as published by the Free Software Foundation; either
7    * version 2.1 of the License, or (at your option) any later version.
8    * 
9    * This library is distributed in the hope that it will be useful,
10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12   * Lesser General Public License for more details.
13   * 
14   * Full GNU LGPL license terms : http://www.gnu.org/copyleft/lesser.txt
15   * 
16   * Project : iky-container
17   * Package : net.wmind.container.model
18   * Author : mchaplin@users.sourceforge.net
19   */
20  package net.mchaplin.ioc.model;
21  
22  import net.mchaplin.commons.WmindObject;
23  
24  
25  /***
26   * Holds the XML definition of
27   * a Component
28   * 
29   * @author mchaplin@users.sourceforge.net
30   * 
31   * $Header: 
32   * $Revision: 
33   * $Date: 
34   *
35   */
36  public class Component {
37      
38      /*** Component Name */
39      private String name = null;
40      /*** Component Alias */
41      private String alias = null;
42      /*** Component fully qualified classname */
43      private String classname = null;
44      /*** Component RMI facade classname */
45      private String rmiClassname = null;
46      /*** Component factory name */
47      private String factory = null;
48      /*** Component loads on startup */
49      private String loadOnStartup = null;
50      
51      /***
52       * @return Returns the rmiClassname.
53       */
54      public String getRmiClassname() {
55          return rmiClassname;
56      }
57      /***
58       * @param rmiClassname The rmiClassname to set.
59       */
60      public void setRmiClassname(String rmiClassname) {
61          this.rmiClassname = rmiClassname;
62      }
63      /***
64       * @return Returns the classname.
65       */
66      public String getClassname() {
67          return classname;
68      }
69      /***
70       * @param classname The classname to set.
71       */
72      public void setClassname(String classname) {
73          this.classname = classname;
74      }
75      /***
76       * @return Returns the loadOnStartup.
77       */
78      public String getLoadOnStartup() {
79          return loadOnStartup;
80      }
81      /***
82       * @param loadOnStartup The loadOnStartup to set.
83       */
84      public void setLoadOnStartup(String loadOnStartup) {
85          this.loadOnStartup = loadOnStartup;
86      }
87      /***
88       * @return Returns the name.
89       */
90      public String getName() {
91          return name;
92      }
93      /***
94       * @param name The name to set.
95       */
96      public void setName(String name) {
97          this.name = name;
98      }
99      /***
100      * @return Returns the alias.
101      */
102     public String getAlias() {
103         return alias;
104     }
105     /***
106      * @param alias The alias to set.
107      */
108     public void setAlias(String alias) {
109         this.alias = alias;
110     }
111     /***
112      * @return Returns the controller.
113      */
114     public String getFactory() {
115         return factory;
116     }
117     /***
118      * @param controller The controller to set.
119      */
120     public void setFactory(String controller) {
121         this.factory = controller;
122     }
123 }