org.eclipse.emf.emfstore.mongodb
Class MongoDBConfiguration

java.lang.Object
  extended by org.eclipse.emf.emfstore.mongodb.MongoDBConfiguration

public final class MongoDBConfiguration
extends Object

Represents the configuration of the EMFStore MongoDB plugin.

Author:
jfaltermeier

Field Summary
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).
 
Method Summary
 String getMongoURIPrefix()
          Returns the prefix for MongoDB URIs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final MongoDBConfiguration INSTANCE
The instance.


HOST_NAME

public static final String HOST_NAME
Constant for the hostname of the server running MongoDB.

See Also:
Constant Field Values

PORT

public static final String PORT
Constant for the port MongoDB is listening on (optional).

See Also:
Constant Field Values
Method Detail

getMongoURIPrefix

public String getMongoURIPrefix()
Returns the prefix for MongoDB URIs.
e.g. mongodb://localhost/

Returns:
the prefix


Copyright © 2015. All Rights Reserved.