AOSharedServiceLibrary
|
The Mongo Service Component Factory. More...
#include <factory_mongo.h>
Public Member Functions | |
MongoComponentFactory () | |
Create a new Service Component Factory. | |
~MongoComponentFactory () | |
Delete a Service Component Factory. | |
AOSSL::MongoBufferInterface * | get_mongo_buffer () |
Get a Mongo Buffer, representing a BSON Document. | |
MongoInterface * | get_mongo_interface (const char *url, const char *db, const char *collection_name) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (std::string url, std::string db, std::string collection_name) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (const char *url, const char *db) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (std::string url, std::string db) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (const char *url, const char *db, const char *collection_name, int pool_size) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (std::string url, std::string db, std::string collection_name, int pool_size) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (const char *url, const char *db, const char *collection_name, int pool_size, int pstart_size, int pbatch) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (std::string url, std::string db, std::string collection_name, int pool_size, int pstart_size, int pbatch) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (const char *url, const char *db, int pool_size) |
Get a Mongo Interface instance. | |
MongoInterface * | get_mongo_interface (std::string url, std::string db, int pool_size) |
Get a Mongo Interface instance. | |
The Mongo Service Component Factory.
The Service Component Factory tracks the Mongo objects exposed by the framework and passes back instances of interfaces. This allows for the publicly exposed methods to be independent of the implementations.