Class Mongo2ConnectionSpec
java.lang.Object
org.eclipse.persistence.eis.EISConnectionSpec
org.eclipse.persistence.nosql.adapters.mongo.MongoConnectionSpec
org.eclipse.persistence.nosql.adapters.mongo.Mongo2ConnectionSpec
- All Implemented Interfaces:
Serializable
,Cloneable
,Connector
Provides connection information to the Mongo 2 database.
- Since:
- EclipseLink 2.7
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.nosql.adapters.mongo.MongoConnectionSpec
AUTH_SOURCE, DB, HOST, OPTIONS, PORT, READ_PREFERENCE, SERVER_SELECTION_TIMEOUT, WRITE_CONCERN
Fields inherited from class org.eclipse.persistence.eis.EISConnectionSpec
connectionFactory, connectionSpec, context, log, name, PASSWORD, USER
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.persistence.nosql.adapters.mongo.MongoConnectionSpec
connectToDataSource
Methods inherited from class org.eclipse.persistence.eis.EISConnectionSpec
clone, connect, getConnectionDetails, getConnectionFactory, getConnectionSpec, getContext, getLog, getName, getPasswordFromProperties, setConnectionFactory, setConnectionFactoryObject, setConnectionSpec, setConnectionSpecObject, setContext, setLog, setName, setName, toString, toString
-
Constructor Details
-
Mongo2ConnectionSpec
public Mongo2ConnectionSpec()Default constructor.
-
-
Method Details
-
createMongoConnectionFactory
- Overrides:
createMongoConnectionFactory
in classMongoConnectionSpec
-