Page Contents
Home > @loopback/boot > InterceptorProviderBooter
InterceptorProviderBooter class
A class that extends BaseArtifactBooter to boot the ‘InterceptorProvider’ artifact type.
Supported phases: configure, discover, load
Signature:
export declare class InterceptorProviderBooter extends BaseArtifactBooter
Extends: BaseArtifactBooter
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(app, projectRoot, interceptorConfig) | Constructs a new instance of the InterceptorProviderBooter class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
app | Application | ||
interceptorConfig | ArtifactOptions | ||
interceptors | InterceptorProviderClass[] |
Methods
Method | Modifiers | Description |
---|---|---|
load() | Uses super method to get a list of Artifact classes. Boot each file by creating a DataSourceConstructor and binding it to the application class. |