public abstract class AbstractJDynFormFieldFactory extends Object implements JDynFormFieldFactory
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected DynStruct |
parametersDefinition |
Constructor and Description |
---|
AbstractJDynFormFieldFactory() |
Modifier and Type | Method and Description |
---|---|
abstract Service |
create(DynObject parameters,
ServiceManager serviceManager)
Creates a new
Service . |
DynObject |
createParameters()
Creates the parameters for the
Service created by this factory. |
abstract String |
getName()
Returns the name of the services created by this factory.
|
void |
initialize()
Initializes the factory.
|
protected String name
protected DynStruct parametersDefinition
public abstract String getName()
ServiceFactory
getName
in interface ServiceFactory
public abstract Service create(DynObject parameters, ServiceManager serviceManager) throws ServiceException
ServiceFactory
Service
.create
in interface ServiceFactory
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
public DynObject createParameters()
ServiceFactory
Service
created by this factory.createParameters
in interface ServiceFactory
public void initialize()
ServiceFactory
initialize
in interface ServiceFactory