public abstract class AbstractBackendDescriptor extends Object implements IndexServerDAO
| Modifier and Type | Field and Description |
|---|---|
protected Type |
typeToken |
ADDRESS, ID, PORT| Constructor and Description |
|---|
AbstractBackendDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackendId()
Gets the backend id.
|
Map<String,String> |
getEndpoint()
Gets the endpoint.
|
protected URI |
getEndpointURL() |
String |
getJsonConfiguration() |
Map<String,String> |
getServiceProperties()
Gets the service properties.
|
void |
init() |
void |
setJsonConfiguration(String jsonConfiguration) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateIndexCollection, getCqlValueTransformerMap, getDocumentMapperFactory, getIndexCollection, getIndexQueryFactory, getSchema, shutdown, updateIndexCollectionprotected Type typeToken
public void init()
throws eu.dnetlib.data.provision.index.rmi.IndexServiceException
eu.dnetlib.data.provision.index.rmi.IndexServiceExceptionpublic String getJsonConfiguration()
protected URI getEndpointURL()
public void setJsonConfiguration(String jsonConfiguration)
public Map<String,String> getServiceProperties()
IndexBackendDescriptorgetServiceProperties in interface IndexBackendDescriptorpublic String getBackendId()
IndexBackendDescriptorgetBackendId in interface IndexBackendDescriptorpublic Map<String,String> getEndpoint()
IndexBackendDescriptorgetEndpoint in interface IndexBackendDescriptorCopyright © 2018. All rights reserved.