
public class DBConnectionSingletonSessionBean extends Object implements DBConnectionSingletonSessionBeanLocal
| Modifier and Type | Field and Description |
|---|---|
private com.mongodb.MongoCredential |
credential |
private com.mongodb.DB |
database |
private com.mongodb.MongoClient |
mongo |
private Storage |
storage |
| Constructor and Description |
|---|
DBConnectionSingletonSessionBean() |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DB |
getDatabase() |
Storage |
getStorage() |
private com.mongodb.MongoClient mongo
private com.mongodb.MongoCredential credential
private com.mongodb.DB database
private Storage storage
public com.mongodb.DB getDatabase()
getDatabase in interface DBConnectionSingletonSessionBeanLocalpublic Storage getStorage()
getStorage in interface DBConnectionSingletonSessionBeanLocalCopyright © 2018. All rights reserved.