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