public final class MongoDBConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HOST_NAME
Constant for the hostname of the server running MongoDB.
|
static MongoDBConfiguration |
INSTANCE
The instance.
|
static String |
PORT
Constant for the port MongoDB is listening on (optional).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMongoURIPrefix()
Returns the prefix for MongoDB URIs.
|
public static final MongoDBConfiguration INSTANCE
public static final String HOST_NAME
public static final String PORT
public String getMongoURIPrefix()
mongodb://localhost/ Copyright © 2017. All rights reserved.