public interface ServiceManager
ServiceFactory
objects and the creation
of Services.Modifier and Type | Method and Description |
---|---|
void |
addServiceFactory(ServiceFactory serviceFactory)
Adds a new
ServiceFactory to the registry. |
Service |
createService(DynObject serviceParameters)
Creates a new
Service . |
DynObject |
createServiceParameters(String serviceName)
Creates the parameters for the
Service created by the factory
with the given name. |
void addServiceFactory(ServiceFactory serviceFactory)
ServiceFactory
to the registry.serviceFactory
- to addService createService(DynObject serviceParameters) throws ServiceException
Service
.serviceParameters
- for the Service
Service
ServiceException
- if the parameters are not valid or there is an error creating
the Provider
DynObject createServiceParameters(String serviceName) throws ServiceException
Service
created by the factory
with the given name.serviceName
- name of the factory to create the Service
ServiceException