KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > management > loading > SimpleMLet


1 /**
2 * The XMOJO Project 5
3 * Copyright © 2003 XMOJO.org. All rights reserved.
4
5 * NO WARRANTY
6
7 * BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
8 * THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
9 * OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
10 * PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
11 * OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
13 * TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE
14 * LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
15 * REPAIR OR CORRECTION.
16
17 * IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
18 * ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
19 * THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
20 * GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
21 * USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF
22 * DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
23 * PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE),
24 * EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGES.
26 **/

27
28 package javax.management.loading;
29
30 import java.util.ArrayList JavaDoc;
31 import java.util.Vector JavaDoc;
32
33 /**
34  * This class describes the information of a remote mbean that is downloaded
35  * from remote using MLET service. This class will be useful for the
36  * MLET service to instantiate and register the mbean with the server.
37  */

38 class SimpleMLet
39 {
40     private String JavaDoc code = null;
41     private String JavaDoc object = null;
42     private Vector JavaDoc archive = null;
43     private String JavaDoc codebase = null;
44     private String JavaDoc name = null;
45     private String JavaDoc version = null;
46     private ArrayList JavaDoc argTypes = null;
47     private ArrayList JavaDoc argValues = null;
48
49     SimpleMLet()
50     {
51         argTypes = new ArrayList JavaDoc();
52         argValues = new ArrayList JavaDoc();
53     }
54
55     String JavaDoc getCode()
56     {
57         return code;
58     }
59
60     void setCode(String JavaDoc code)
61     {
62         this.code = code;
63     }
64
65     String JavaDoc getObject()
66     {
67         return object;
68     }
69
70     void setObject(String JavaDoc object)
71     {
72         this.object = object;
73     }
74
75     Vector JavaDoc getArchive()
76     {
77         return archive;
78     }
79
80     void setArchive(Vector JavaDoc archive)
81     {
82         this.archive = archive;
83     }
84
85     String JavaDoc getCodebase()
86     {
87         return codebase;
88     }
89
90     void setCodebase(String JavaDoc codebase)
91     {
92         this.codebase = codebase;
93     }
94
95     String JavaDoc getName()
96     {
97         return name;
98     }
99
100     void setName(String JavaDoc name)
101     {
102         this.name = name;
103     }
104
105     String JavaDoc getVersion()
106     {
107         return version;
108     }
109
110     void setVersion(String JavaDoc version)
111     {
112         this.version = version;
113     }
114
115     ArrayList JavaDoc getArgTypes()
116     {
117         return argTypes;
118     }
119
120     void setArgTypes(ArrayList JavaDoc argTypes)
121     {
122         this.argTypes = argTypes;
123     }
124
125     ArrayList JavaDoc getArgValues()
126     {
127         return argValues;
128     }
129
130     void setArgValues(ArrayList JavaDoc argValues)
131     {
132         this.argValues = argValues;
133     }
134 }
Popular Tags