IROClassFactory

Overview

Base interface of all class factories. You will not use this interface, but one of its descendants.

Location


Properties


InterfaceName

Presents the interface name as string.

property InterfaceName: string read

Invoker

Provides access to IROInvoker.

property Invoker: IROInvoker read

Required Methods


CreateInstance

Creates an uninitialized object.

procedure CreateInstance(const aClientID: TGUID; out anInstance: IInterface)

Parameters:

  • aClientID: ClientID
  • anInstance: Instance

GetInvoker

Returns the pointer to IROInvoker.

function GetInvoker: IROInvoker

ReleaseInstance

Releases a previously acquired instance.

procedure ReleaseInstance(const aClientID: TGUID; var anInstance: IInterface)

Parameters:

  • aClientID: ClientID
  • anInstance: Service instance