public abstract class AbstractCommonsDataSourceBackend extends AbstractDataSourceBackend
| Constructor and Description |
|---|
AbstractCommonsDataSourceBackend() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDataSourceBackendId()
Deprecated.
|
String |
getDisplayName()
Returns the name of this backend for display in user interfaces.
|
String |
getId() |
String |
getKeyType() |
void |
initialize(BackendInstanceSpec config)
Initializes the backend from a
BackendInstanceSpec. |
protected String |
nameForErrors() |
void |
parseGranularityFactory(String className) |
void |
parseUnitFactory(String className) |
void |
setDataSourceBackendId(String id)
Deprecated.
|
void |
setId(String id) |
void |
setKeyType(String keyType) |
close, deleteAllKeys, getGranularityFactory, getKeyIdComparator, getKeyTypeDisplayName, getKeyTypePluralDisplayName, getSelectedKeySetSpecs, getSourceSystem, getUnitFactory, setGranularityFactory, setKeyIdComparator, setUnitFactory, writeKeysaddBackendListener, fireBackendUpdated, fireEvent, fireUnrecoverableError, getConfigurationsId, removeBackendListener, setEventListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadPropositions, validateConfiguration, validateDataaddBackendListener, getConfigurationsId, removeBackendListener, setEventListenerspublic void initialize(BackendInstanceSpec config) throws BackendInitializationException
BackendBackendInstanceSpec. It is called
for you by BackendInstanceSpec.getInstance(), but if you
create a Backend object yourself, you must call this manually
before using it.initialize in interface Backend<DataSourceBackendUpdatedEvent>initialize in class AbstractBackend<DataSourceBackendUpdatedEvent>config - the configuration Properties object.BackendInitializationExceptionpublic final String getDisplayName()
BackendString.protected final String nameForErrors()
@Deprecated public final void setDataSourceBackendId(String id)
@Deprecated public final String getDataSourceBackendId()
public final void setId(String id)
setId in class AbstractBackend<DataSourceBackendUpdatedEvent>public final String getId()
getId in interface Backend<DataSourceBackendUpdatedEvent>getId in class AbstractBackend<DataSourceBackendUpdatedEvent>public void setKeyType(String keyType)
setKeyType in class AbstractDataSourceBackendpublic String getKeyType()
getKeyType in interface DataSourceBackendgetKeyType in class AbstractDataSourceBackendpublic void parseUnitFactory(String className) throws ClassNotFoundException, InstantiationException, IllegalAccessException
public void parseGranularityFactory(String className) throws ClassNotFoundException, InstantiationException, IllegalAccessException
Copyright © 2012–2018 Emory University. All rights reserved.