|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ServiceManager is an interface that is implemented to handle the management of Services. StdServiceManager is the standard implementation of this interface.
StdServiceManager
Method Summary | |
boolean |
addService(Service service)
addService adds a Service to the ServiceManager. |
Service |
getService(java.lang.String name)
getService retrieves a Service from the ServiceManager by name. |
java.lang.String[] |
listServices()
listServices returns a list of available Service names. |
boolean |
removeService(Service service)
removeService removes a Service from the ServiceManager. |
boolean |
startServices()
startServices starts all of the available ServiceManager Services if they aren't already started. |
void |
stopServices()
stopServices stops all of the available ServiceManager Services. |
Method Detail |
public boolean startServices()
public void stopServices()
public boolean addService(Service service)
service
- the Service to addpublic boolean removeService(Service service)
service
- the Service to removepublic java.lang.String[] listServices()
public Service getService(java.lang.String name)
name
- the Service name
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |