|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--context.arch.service.Services
This class maintains a list of services.
Service
, Serialized FormConstructor Summary | |
Services()
Basic empty constructor |
Method Summary | |
void |
addService(Service service)
Adds the given Service object to the container. |
void |
addServices(Services services)
Adds the given Services object to the container. |
Service |
getService(java.lang.String name)
This method returns the Service with the given name from this list of Services. |
boolean |
hasService(java.lang.String service)
Determines whether the given Service object is in the container |
int |
numServices()
Returns the number of Services in the container return the number of Services in the container |
DataObject |
toDataObject()
Creates a ServiceDescriptions object and returns the DataObject version of it |
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 |
Constructor Detail |
public Services()
Method Detail |
public void addService(Service service)
service
- Service to addpublic void addServices(Services services)
services
- Services to addpublic boolean hasService(java.lang.String service)
service
- Name of the service to checkpublic int numServices()
public Service getService(java.lang.String name)
name
- of the Service to returnpublic DataObject toDataObject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |