public abstract class AbstractDataStoreProducer extends WWObjectImpl implements DataStoreProducer
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDataStoreProducer.SourceInfo |
Modifier and Type | Field and Description |
---|---|
protected AVList |
productionParams |
Constructor and Description |
---|
AbstractDataStoreProducer() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDataSource(java.lang.Object source,
AVList params) |
boolean |
containsDataSource(java.lang.Object source) |
protected abstract void |
doStartProduction(AVList parameters) |
protected java.util.List<AbstractDataStoreProducer.SourceInfo> |
getDataSourceList() |
java.lang.Iterable<java.lang.Object> |
getDataSources() |
AVList |
getProductionParameters() |
java.lang.Iterable<?> |
getProductionResults() |
protected java.util.List<java.lang.Object> |
getProductionResultsList() |
AVList |
getStoreParameters() |
protected boolean |
isStopped() |
void |
offerAllDataSources(java.lang.Iterable<?> sources) |
void |
offerDataSource(java.lang.Object source,
AVList params) |
void |
removeAllDataSources() |
void |
removeDataSource(java.lang.Object source) |
void |
removeProductionState() |
void |
setStoreParameters(AVList parameters) |
void |
startProduction() |
void |
stopProduction() |
protected abstract java.lang.String |
validateDataSource(java.lang.Object source,
AVList params) |
protected abstract java.lang.String |
validateProductionParameters(AVList parameters) |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataSourceDescription
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
onMessage
protected AVList productionParams
public boolean acceptsDataSource(java.lang.Object source, AVList params)
acceptsDataSource
in interface DataStoreProducer
public boolean containsDataSource(java.lang.Object source)
containsDataSource
in interface DataStoreProducer
protected abstract void doStartProduction(AVList parameters) throws java.lang.Exception
java.lang.Exception
protected java.util.List<AbstractDataStoreProducer.SourceInfo> getDataSourceList()
public java.lang.Iterable<java.lang.Object> getDataSources()
getDataSources
in interface DataStoreProducer
public AVList getProductionParameters()
getProductionParameters
in interface DataStoreProducer
public java.lang.Iterable<?> getProductionResults()
getProductionResults
in interface DataStoreProducer
protected java.util.List<java.lang.Object> getProductionResultsList()
public AVList getStoreParameters()
getStoreParameters
in interface DataStoreProducer
protected boolean isStopped()
public void offerAllDataSources(java.lang.Iterable<?> sources)
offerAllDataSources
in interface DataStoreProducer
public void offerDataSource(java.lang.Object source, AVList params)
offerDataSource
in interface DataStoreProducer
public void removeAllDataSources()
removeAllDataSources
in interface DataStoreProducer
public void removeDataSource(java.lang.Object source)
removeDataSource
in interface DataStoreProducer
public void removeProductionState()
removeProductionState
in interface DataStoreProducer
public void setStoreParameters(AVList parameters)
setStoreParameters
in interface DataStoreProducer
public void startProduction() throws java.lang.Exception
startProduction
in interface DataStoreProducer
java.lang.Exception
public void stopProduction()
stopProduction
in interface DataStoreProducer
protected abstract java.lang.String validateDataSource(java.lang.Object source, AVList params)
protected abstract java.lang.String validateProductionParameters(AVList parameters)