public abstract class AbstractNewLayerProviderFactory extends Object implements NewLayerProviderFactory
Constructor and Description |
---|
AbstractNewLayerProviderFactory() |
Modifier and Type | Method and Description |
---|---|
Provider |
create(DynObject parameters,
ProviderServices services)
Creates a new
Provider . |
DynObject |
createParameters()
Creates the parameters for the
Provider created by this factory. |
protected DynClass |
createParametersDynClass() |
Provider |
doCreate(DynObject parameters,
ProviderServices services) |
void |
initialize()
Initialices the factory.
|
boolean |
isEnabled()
If the provider this factory creates is enabled.
|
void |
setEnabled(boolean value)
Enable or disable this provider factory.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getDescription, getLabel, isSpatial
getName
public final Provider doCreate(DynObject parameters, ProviderServices services)
public DynObject createParameters()
ProviderFactory
Provider
created by this factory.createParameters
in interface ProviderFactory
public void initialize()
ProviderFactory
initialize
in interface ProviderFactory
protected DynClass createParametersDynClass()
public Provider create(DynObject parameters, ProviderServices services) throws ServiceException
ProviderFactory
Provider
.create
in interface ProviderFactory
parameters
- for the Provider
services
- to be used by the Provider
Provider
ServiceException
- if the parameters are not valid or there is an error creating
the Provider
public boolean isEnabled()
NewLayerProviderFactory
isEnabled
in interface NewLayerProviderFactory
public void setEnabled(boolean value)
NewLayerProviderFactory
setEnabled
in interface NewLayerProviderFactory
value
- if to enable or disable the factory