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 write

Invoker

Provides access to IROInvoker.

property Invoker: IROInvoker read write

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