public abstract class AbstractCommonsTermSourceBackend extends AbstractTermSourceBackend
| Constructor and Description |
|---|
AbstractCommonsTermSourceBackend() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
A default implementation that returns null
|
String |
getId() |
void |
initialize(BackendInstanceSpec config)
Initializes the backend from a
BackendInstanceSpec. |
protected String |
nameForErrors() |
void |
setId(String id) |
close, fireTermSourceBackendUpdated, getSubsumption, readTerm, readTermsaddBackendListener, fireBackendUpdated, fireEvent, fireUnrecoverableError, getConfigurationsId, removeBackendListener, setEventListenersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBackendListener, 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<TermSourceBackendUpdatedEvent>initialize in class AbstractBackend<TermSourceBackendUpdatedEvent>config - the configuration Properties object.BackendInitializationExceptionpublic String getDisplayName()
AbstractTermSourceBackendgetDisplayName in interface Backend<TermSourceBackendUpdatedEvent>getDisplayName in class AbstractTermSourceBackendString.Backend.getDisplayName()protected final String nameForErrors()
public final void setId(String id)
setId in class AbstractBackend<TermSourceBackendUpdatedEvent>public final String getId()
getId in interface Backend<TermSourceBackendUpdatedEvent>getId in class AbstractBackend<TermSourceBackendUpdatedEvent>Copyright © 2012–2017 Emory University. All rights reserved.