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(java.lang.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 ServiceServiceServiceException - if the parameters are not valid or there is an error creating
the ProviderDynObject createServiceParameters(java.lang.String serviceName) throws ServiceException
Service created by the factory
with the given name.serviceName - name of the factory to create the ServiceServiceException