public class MongoInteraction extends Object
| Constructor and Description |
|---|
MongoInteraction(ConfigurationBuilder configurationBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
getDatabase(String databaseName) |
Object |
getDB() |
Class |
getMongoClientClass() |
Class |
getMongoDatabaseClass() |
void |
hostPort(String host,
int port) |
Object |
mongoClient() |
Object |
mongoClient(Object serverAddressList,
Object mongoClientOptions,
List mongoCredential) |
Object |
mongoClientOptions() |
List |
mongoCredential() |
void |
subjectFactory(org.jboss.security.SubjectFactory subjectFactory) |
void |
underlyingClose() |
public MongoInteraction(ConfigurationBuilder configurationBuilder)
public Object mongoClient(Object serverAddressList, Object mongoClientOptions, List mongoCredential) throws Throwable
Throwablepublic Class getMongoClientClass()
public Class getMongoDatabaseClass()
public void subjectFactory(org.jboss.security.SubjectFactory subjectFactory)
Copyright © 2017 JBoss by Red Hat. All rights reserved.