@sourceloop/task-service / Exports / TaskServiceComponent
Class: TaskServiceComponent¶
Implements¶
Component
Table of contents¶
Constructors¶
Properties¶
Methods¶
Constructors¶
constructor¶
• new TaskServiceComponent(application
, config?
)
Parameters¶
Name | Type |
---|---|
application |
RestApplication |
config? |
TaskServiceConfig |
Defined in¶
services/task-service/src/component.ts:82
Properties¶
application¶
• Private
Readonly
application: RestApplication
Defined in¶
services/task-service/src/component.ts:84
bindings¶
• Optional
bindings: Binding
<any
>[] = []
Implementation of¶
Component.bindings
Defined in¶
services/task-service/src/component.ts:81
config¶
• Private
Optional
Readonly
config: TaskServiceConfig
Defined in¶
services/task-service/src/component.ts:86
controllers¶
• Optional
controllers: ControllerClass
<any
>[]
An array of controller classes
Implementation of¶
Component.controllers
Defined in¶
services/task-service/src/component.ts:80
models¶
• Optional
models: Class
<Model
>[]
An optional list of Model classes to bind for dependency injection
via app.model()
API.
Defined in¶
services/task-service/src/component.ts:71
providers¶
• providers: ProviderMap
= {}
Implementation of¶
Component.providers
Defined in¶
services/task-service/src/component.ts:73
repositories¶
• Optional
repositories: Class
<Repository
<Model
>>[]
Defined in¶
services/task-service/src/component.ts:65
services¶
• Optional
services: ServiceOrProviderClass
<any
>[]
Implementation of¶
Component.services
Defined in¶
services/task-service/src/component.ts:75
Methods¶
setupSequence¶
▸ setupSequence(): void
Setup ServiceSequence by default if no other sequnce provided
Returns¶
void