@loopback/docs
Version:
Documentation for LoopBack 4
37 lines (24 loc) • 1.39 kB
Markdown
lang: en
title: 'API docs: boot.bootcomponent'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/boot
permalink: /doc/en/lb4/apidocs.boot.bootcomponent.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [BootComponent](./boot.bootcomponent.md)
## BootComponent class
BootComponent is used to export the default list of Booter's made available by this module as well as bind the BootStrapper to the app so it can be used to run the Booters.
<b>Signature:</b>
```typescript
export declare class BootComponent implements Component
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(app)](./boot.bootcomponent._constructor_.md) | | Constructs a new instance of the <code>BootComponent</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [booters](./boot.bootcomponent.booters.md) | | <code>(typeof ApplicationMetadataBooter | typeof ControllerBooter | typeof DataSourceBooter | typeof InterceptorProviderBooter | typeof LifeCycleObserverBooter | typeof ModelApiBooter | typeof RepositoryBooter | typeof ServiceBooter)[]</code> | |