|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable context.arch.util.ConfigObjects
This class maintains a list of configuration objects.
ConfigObject
,
Serialized FormField Summary | |
static java.lang.String |
HOSTNAME
Tag for component hostname |
static java.lang.String |
ID
Tag for component id |
static java.lang.String |
PORT
Tag for component port |
static java.lang.String |
TYPE
Tag for component type |
Constructor Summary | |
ConfigObjects()
Basic empty constructor |
|
ConfigObjects(DataObject data)
Constructor that creates a ConfigObjects object from a DataObject. |
Method Summary | |
void |
addConfigObject(ConfigObject obj)
Adds a configuration object to the list |
ConfigObject |
getConfigObject(java.lang.String id)
Retrieves a configuation object from the component list |
java.util.Enumeration |
getEnumeration()
Returns an enumeration of the configuration objects |
ConfigObjects |
getObjectsType(java.lang.String type)
Returns a list of all the configuration objects with the given type |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String ID
public static final java.lang.String HOSTNAME
public static final java.lang.String PORT
public static final java.lang.String TYPE
Constructor Detail |
public ConfigObjects()
public ConfigObjects(DataObject data)
data
- DataObject containing configuration informationMethod Detail |
public void addConfigObject(ConfigObject obj)
obj
- Configuration object to addpublic ConfigObject getConfigObject(java.lang.String id)
id
- Id to use to retrieve the configuration object
public java.util.Enumeration getEnumeration()
public ConfigObjects getObjectsType(java.lang.String type)
type
- Type of configuration object to match
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |