public interface ServiceFactory extends ExtensionSingleton
Services 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. |
java.lang.String |
getName()
Returns the name of the services created by this factory.
|
void |
initialize()
Initializes the factory.
|
java.lang.String getName()
Service create(DynObject parameters, ServiceManager serviceManager) throws ServiceException
Service.parameters - for the ServiceserviceManager - to be used by the ServiceServiceServiceException - if the parameters are not valid or there is an error creating
the ServiceDynObject createParameters()
Service created by this factory.void initialize()