@sourceloop/notification-service / Exports / NotificationServiceComponent
Class: NotificationServiceComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new NotificationServiceComponent(application
, notifConfig?
)
Parameters¶
Name | Type |
---|---|
application |
RestApplication |
notifConfig? |
INotifServiceConfig |
Defined in¶
services/notification-service/src/component.ts:61
Properties¶
application¶
• Private
Readonly
application: RestApplication
Defined in¶
services/notification-service/src/component.ts:63
bindings¶
• Optional
bindings: Binding
<any
>[] = []
Implementation of¶
Component.bindings
Defined in¶
services/notification-service/src/component.ts:136
controllers¶
• Optional
controllers: ControllerClass
<any
>[]
An array of controller classes
Implementation of¶
Component.controllers
Defined in¶
services/notification-service/src/component.ts:153
models¶
• Optional
models: Class
<Model
>[]
An optional list of Model classes to bind for dependency injection
via app.model()
API.
Defined in¶
services/notification-service/src/component.ts:148
notifConfig¶
• Private
Optional
Readonly
notifConfig: INotifServiceConfig
Defined in¶
services/notification-service/src/component.ts:65
providers¶
• Optional
providers: ProviderMap
= {}
Implementation of¶
Component.providers
Defined in¶
services/notification-service/src/component.ts:134
repositories¶
• Optional
repositories: Class
<Repository
<Model
>>[]
An optional list of Repository classes to bind for dependency injection
via app.repository()
API.
Defined in¶
services/notification-service/src/component.ts:142
Methods¶
setupSequence¶
▸ setupSequence(): void
Setup ServiceSequence by default if no other sequnce provided
Returns¶
void