Skip to content

@sourceloop/ctrl-plane-tenant-management-service / Exports / TenantManagementServiceComponent

Class: TenantManagementServiceComponent

Implements

  • Component

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TenantManagementServiceComponent(application, tenantMgmtConfig?)

Parameters

Name Type
application RestApplication
tenantMgmtConfig? ITenantManagementServiceConfig

Defined in

services/tenant-management-service/src/component.ts:85

Properties

application

Private Readonly application: RestApplication

Defined in

services/tenant-management-service/src/component.ts:87


bindings

bindings: Binding<any>[] = []

Implementation of

Component.bindings

Defined in

services/tenant-management-service/src/component.ts:167


controllers

Optional controllers: ControllerClass<any>[]

An array of controller classes

Implementation of

Component.controllers

Defined in

services/tenant-management-service/src/component.ts:186


models

Optional models: Class<Model>[]

An optional list of Model classes to bind for dependency injection via app.model() API.

Defined in

services/tenant-management-service/src/component.ts:181


providers

Optional providers: ProviderMap = {}

Implementation of

Component.providers

Defined in

services/tenant-management-service/src/component.ts:165


repositories

Optional repositories: Class<Repository<Model>>[]

An optional list of Repository classes to bind for dependency injection via app.repository() API.

Defined in

services/tenant-management-service/src/component.ts:175


services

Optional services: ServiceOrProviderClass<any>[]

Implementation of

Component.services

Defined in

services/tenant-management-service/src/component.ts:169


tenantMgmtConfig

Private Optional Readonly tenantMgmtConfig: ITenantManagementServiceConfig

Defined in

services/tenant-management-service/src/component.ts:89

Methods

addClassBindingIfNotPresent

Private addClassBindingIfNotPresent<T>(key, cls): void

Type parameters

Name
T

Parameters

Name Type
key string
cls Constructor<T>

Returns

void

Defined in

services/tenant-management-service/src/component.ts:211


setupSequence

setupSequence(): void

Setup ServiceSequence by default if no other sequnce provided

Returns

void

Defined in

services/tenant-management-service/src/component.ts:192