AOSharedServiceLibrary
Public Member Functions | List of all members
MongoComponentFactory Class Reference

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.
 
MongoInterfaceget_mongo_interface (const char *url, const char *db, const char *collection_name)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (std::string url, std::string db, std::string collection_name)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (const char *url, const char *db)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (std::string url, std::string db)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (const char *url, const char *db, const char *collection_name, int pool_size)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (std::string url, std::string db, std::string collection_name, int pool_size)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (const char *url, const char *db, int pool_size)
 Get a Mongo Interface instance.
 
MongoInterfaceget_mongo_interface (std::string url, std::string db, int pool_size)
 Get a Mongo Interface instance.
 

Detailed Description

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.


The documentation for this class was generated from the following file: