public class MorphiumSingleton extends Object
| Constructor and Description |
|---|
MorphiumSingleton() |
| Modifier and Type | Method and Description |
|---|---|
static Morphium |
get()
threadsafe Singleton implementation.
|
static MorphiumConfig |
getConfig() |
static boolean |
isConfigured()
returns true, if layer was configured yet
|
static boolean |
isInitialized() |
static void |
reset() |
static void |
setConfig(MorphiumConfig cfg)
set configuration for MongoDbLayer
|
public static void setConfig(MorphiumConfig cfg)
cfg - MorphiumConfigpublic static boolean isConfigured()
public static boolean isInitialized()
public static MorphiumConfig getConfig()
public static void reset()
public static Morphium get()
Copyright © 2013. All Rights Reserved.