public class DocumentStoreFactory
extends java.lang.Object
| Constructor and Description |
|---|
DocumentStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
static DocumentStore |
getDocumentStore()
Returns the singleton document store instance that gets created upon
first invocation of this method.
|
static void |
setDocumentStore(DocumentStore documentStore)
Sets a custom singleton document store instance that will be
returned by
getDocumentStore() rather than creating an
instance upon first invocation. |
public static void setDocumentStore(DocumentStore documentStore)
getDocumentStore() rather than creating an
instance upon first invocation.public static DocumentStore getDocumentStore()