public class MongoDBConnectionImpl extends BasicConnection implements MongoDBConnection
| Constructor and Description |
|---|
MongoDBConnectionImpl(String database,
List<com.mongodb.ServerAddress> servers,
com.mongodb.MongoCredential credential,
com.mongodb.MongoClientOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.mongodb.DB |
getDatabase() |
cleanUp, createInteraction, getLocalTransaction, getMetaData, getResultSetInfo, getXAResource, isAlivepublic com.mongodb.DB getDatabase()
getDatabase in interface MongoDBConnectionpublic void close()
throws javax.resource.ResourceException
close in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.