public class PieChartFactory extends AbstractChartFactory
Constructor and Description |
---|
PieChartFactory() |
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 . |
void |
initialize()
Initializes the factory.
|
create, getName, setParametersDynClass
public void initialize()
ServiceFactory
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