Interface MongoConnectionDetails
- All Superinterfaces:
ConnectionDetails
- All Known Implementing Classes:
PropertiesMongoConnectionDetails
Details required to establish a connection to a MongoDB service.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
GridFS configuration. -
Method Summary
Modifier and TypeMethodDescriptioncom.mongodb.ConnectionString
TheConnectionString
for MongoDB.default MongoConnectionDetails.GridFs
GridFS configuration.
-
Method Details
-
getConnectionString
com.mongodb.ConnectionString getConnectionString()TheConnectionString
for MongoDB.- Returns:
- the connection string
-
getGridFs
GridFS configuration.- Returns:
- the GridFS configuration or
null
-