FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

IConnectionManager Class Reference

#include <IConnectionManager.h>

Inherits FdoIDisposable.

Inherited by FdoConnectionManager.

Inheritance diagram for IConnectionManager:

[legend]
List of all members.

Detailed Description

The IConnectionManager interface supports dynamic creation of connection objects given a provider name.
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, on the Windows platform, windows libraries supporting FDO providers will be expected to support the following well-known entry point function which will create and returns an unitialized connection object.

FdoIConnection * CreateConnection();

Definition at line 45 of file IConnectionManager.h.


Public Member Functions

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

Member Function Documentation

virtual FDO_API FdoIConnection* IConnectionManager::CreateConnection const wchar_t *  providerName  )  [pure virtual]
 

Creates an unitialized connection object given the provider name.

Parameters:
providerName The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns an instance of an FdoIConnection object. Throws an instance of FdoClientServicesException * if an error occurs.

Implemented in FdoConnectionManager.

virtual FDO_API void IConnectionManager::FreeLibrary const wchar_t *  providerName  )  [pure virtual]
 

Frees a connection library reference given the provider name.

Parameters:
providerName The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns nothing. Throws an instance of FdoClientServicesException * if an error occurs.

Implemented in FdoConnectionManager.


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