FDO API Reference Feature Data Objects

FdoConnectionManager Class Reference

#include <ConnectionManager.h>

Inherits IConnectionManager.

Inheritance diagram for FdoConnectionManager:

Inheritance graph
[legend]
List of all members.

Detailed Description

The IConnectionManager interface supports dynamic creation of connection objects given a provider name. Derives from IConnectionManager interface.

Remarks:
In order for dynamic creation to work, each dynamic link library, shared library, or assembly that implements a provider must supply a well-defined entry point function that takes as input a provider name and returns an FdoIConnection instance. The definition of the entry point function is language- and platform-dependent. For this release of FDO, the windows libraries supporting FDO providers will be expected to support the following well-known entry point function, which will create and return an unitialized connection object: IConnection * CreateConnection();

Definition at line 50 of file ConnectionManager.h.


Public Member Functions

virtual FDO_API FdoIConnectionCreateConnection (const wchar_t *providerName)
 Creates an unitialized connection object given the provider name.
virtual FDO_API void FreeLibrary (const wchar_t *providerName)
 Frees a connection library reference given the provider name.

Protected Member Functions

virtual void Dispose ()
 Dispose this object.
 FdoConnectionManager ()
 Constructs a default instance of a FdoProviderRegistry object.
virtual ~FdoConnectionManager ()
 Default destructor for FdoProviderRegistry object.

Friends

class FdoFeatureAccessManager
 Instances of interface FdoFeatureAccessManager are responsible for the lifespan of FdoConnectionManager.

The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.