public class SOLRAPIClientFactory extends Object
| Constructor and Description |
|---|
SOLRAPIClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close() |
protected org.alfresco.httpclient.AlfrescoHttpClient |
getRepoClient(org.alfresco.encryption.KeyResourceLoader keyResourceLoader) |
SOLRAPIClient |
getSOLRAPIClient(Properties props,
org.alfresco.encryption.KeyResourceLoader keyResourceLoader,
org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService,
org.alfresco.repo.dictionary.NamespaceDAO namespaceDAO)
Creates the SOLRAPIClient or gets it from a pool
|
public static void close()
public SOLRAPIClient getSOLRAPIClient(Properties props, org.alfresco.encryption.KeyResourceLoader keyResourceLoader, org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService, org.alfresco.repo.dictionary.NamespaceDAO namespaceDAO)
props - solrcore.properties in the keyResourceLoader - reads encryption key resourcesdictionaryService - represents the Repository Data DictionarynamespaceDAO - allows retrieving and creating Namespace definitionsprotected org.alfresco.httpclient.AlfrescoHttpClient getRepoClient(org.alfresco.encryption.KeyResourceLoader keyResourceLoader)
Copyright © 2005–2020 Alfresco Software. All rights reserved.