|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.server.standard.StdServiceManager
StdServiceManager
Constructor Summary | |
StdServiceManager()
|
Method Summary | |
boolean |
addService(Service service)
addService adds a Service to the ServiceManager. |
void |
dispose()
dispose disposes of the object instance. |
Configuration |
getConfig()
getConfig retrieves the configuration information for the Configurable object instance. |
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. |
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
void |
setKernel(Kernel kernel)
setKernel provides a Kernel callback interface to the implementing object. |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StdServiceManager()
Method Detail |
public void setKernel(Kernel kernel)
KernelAccess
setKernel
in interface KernelAccess
org.apache.xindice.server.KernelAccess
kernel
- the Kernel referencepublic void setConfig(Configuration config)
Configurable
setConfig
in interface Configurable
org.apache.xindice.util.Configurable
config
- The configuration Nodepublic Configuration getConfig()
Configurable
getConfig
in interface Configurable
org.apache.xindice.util.Configurable
public boolean startServices()
ServiceManager
startServices
in interface ServiceManager
org.apache.xindice.server.ServiceManager
public void stopServices()
ServiceManager
stopServices
in interface ServiceManager
public boolean addService(Service service)
ServiceManager
addService
in interface ServiceManager
org.apache.xindice.server.ServiceManager
service
- the Service to addpublic boolean removeService(Service service)
ServiceManager
removeService
in interface ServiceManager
org.apache.xindice.server.ServiceManager
service
- the Service to removepublic java.lang.String[] listServices()
ServiceManager
listServices
in interface ServiceManager
org.apache.xindice.server.ServiceManager
public Service getService(java.lang.String name)
ServiceManager
getService
in interface ServiceManager
org.apache.xindice.server.ServiceManager
name
- the Service namepublic void dispose()
Disposable
dispose
in interface Disposable
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |