@sourceloop/scheduler-service / Exports / SchedulerServiceComponent
Class: SchedulerServiceComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new SchedulerServiceComponent(application
, schedulerConfig?
, config?
)
Parameters¶
Name | Type |
---|---|
application |
RestApplication |
schedulerConfig? |
IServiceConfig |
config? |
IServiceConfig |
Defined in¶
services/scheduler-service/src/component.ts:87
Properties¶
application¶
• Private
Readonly
application: RestApplication
Defined in¶
services/scheduler-service/src/component.ts:89
bindings¶
• Optional
bindings: Binding
<any
>[] = []
Implementation of¶
Component.bindings
Defined in¶
services/scheduler-service/src/component.ts:184
config¶
• Private
Optional
Readonly
config: IServiceConfig
Defined in¶
services/scheduler-service/src/component.ts:93
controllers¶
• Optional
controllers: ControllerClass
<any
>[]
An array of controller classes
Implementation of¶
Component.controllers
Defined in¶
services/scheduler-service/src/component.ts:201
models¶
• Optional
models: Class
<Model
>[]
An optional list of Model classes to bind for dependency injection
via app.model()
API.
Defined in¶
services/scheduler-service/src/component.ts:196
providers¶
• Optional
providers: ProviderMap
= {}
Implementation of¶
Component.providers
Defined in¶
services/scheduler-service/src/component.ts:182
repositories¶
• Optional
repositories: Class
<Repository
<Model
>>[]
An optional list of Repository classes to bind for dependency injection
via app.repository()
API.
Defined in¶
services/scheduler-service/src/component.ts:190
schedulerConfig¶
• Private
Optional
Readonly
schedulerConfig: IServiceConfig
Defined in¶
services/scheduler-service/src/component.ts:91
Methods¶
setupSequence¶
▸ setupSequence(bindings
): void
Setup ServiceSequence by default if no other sequnce provided
Parameters¶
Name | Type | Description |
---|---|---|
bindings |
Binding <any >[] |
Binding array |
Returns¶
void