public interface ServiceFactory extends ExtensionSingleton
Service
s and its parameters.Modifier and Type | Method and Description |
---|---|
Service |
create(DynObject parameters,
ServiceManager serviceManager)
Creates a new
Service . |
DynObject |
createParameters()
Creates the parameters for the
Service created by this factory. |
String |
getName()
Returns the name of the services created by this factory.
|
void |
initialize()
Initializes the factory.
|
String getName()
Service create(DynObject parameters, ServiceManager serviceManager) throws ServiceException
Service
.parameters
- for the Service
serviceManager
- to be used by the Service
Service
ServiceException
- if the parameters are not valid or there is an error creating
the Service
DynObject createParameters()
Service
created by this factory.void initialize()