001: /**
002: * The XMOJO Project 5
003: * Copyright © 2003 XMOJO.org. All rights reserved.
004:
005: * NO WARRANTY
006:
007: * BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
008: * THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
009: * OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
010: * PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
011: * OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
012: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
013: * TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE
014: * LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
015: * REPAIR OR CORRECTION.
016:
017: * IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
018: * ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
019: * THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
020: * GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
021: * USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF
022: * DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
023: * PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE),
024: * EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
025: * SUCH DAMAGES.
026: **/package javax.management.loading;
027:
028: import java.util.ArrayList;
029: import java.util.Vector;
030:
031: /**
032: * This class describes the information of a remote mbean that is downloaded
033: * from remote using MLET service. This class will be useful for the
034: * MLET service to instantiate and register the mbean with the server.
035: */
036: class SimpleMLet {
037: private String code = null;
038: private String object = null;
039: private Vector archive = null;
040: private String codebase = null;
041: private String name = null;
042: private String version = null;
043: private ArrayList argTypes = null;
044: private ArrayList argValues = null;
045:
046: SimpleMLet() {
047: argTypes = new ArrayList();
048: argValues = new ArrayList();
049: }
050:
051: String getCode() {
052: return code;
053: }
054:
055: void setCode(String code) {
056: this .code = code;
057: }
058:
059: String getObject() {
060: return object;
061: }
062:
063: void setObject(String object) {
064: this .object = object;
065: }
066:
067: Vector getArchive() {
068: return archive;
069: }
070:
071: void setArchive(Vector archive) {
072: this .archive = archive;
073: }
074:
075: String getCodebase() {
076: return codebase;
077: }
078:
079: void setCodebase(String codebase) {
080: this .codebase = codebase;
081: }
082:
083: String getName() {
084: return name;
085: }
086:
087: void setName(String name) {
088: this .name = name;
089: }
090:
091: String getVersion() {
092: return version;
093: }
094:
095: void setVersion(String version) {
096: this .version = version;
097: }
098:
099: ArrayList getArgTypes() {
100: return argTypes;
101: }
102:
103: void setArgTypes(ArrayList argTypes) {
104: this .argTypes = argTypes;
105: }
106:
107: ArrayList getArgValues() {
108: return argValues;
109: }
110:
111: void setArgValues(ArrayList argValues) {
112: this.argValues = argValues;
113: }
114: }
|