IClassFactory

Overview

This is the common base interface for all class factory implementations.

When implementing your own custom class factory, you will either descend from the existing ClassFactory class or manually implement this interface.

Location


Required Methods


AcquireInstance

 

method AcquireInstance(clientId: Guid; activate: Boolean): IROService

 

IROService AcquireInstance(Guid clientId, Boolean activate)

 

Function AcquireInstance(clientId As Guid, activate As Boolean) As IROService

Parameters:

  • clientId:
  • activate:

ReleaseInstance

Releases a previously acquired service instance, based on the logic of the class factory implementation.

 

method ReleaseInstance(clientId: Guid; serviceInstance: IROService)

 

void ReleaseInstance(Guid clientId, IROService serviceInstance)

 

Sub ReleaseInstance(clientId As Guid, serviceInstance As IROService)

Parameters:

  • clientId:
  • serviceInstance: