Page Contents

Home > @loopback/boot > ServiceBooter

ServiceBooter class

A class that extends BaseArtifactBooter to boot the ‘Service’ artifact type. Discovered services are bound using app.service().

Supported phases: configure, discover, load


export declare class ServiceBooter extends BaseArtifactBooter 

Extends: BaseArtifactBooter


Constructor Modifiers Description
(constructor)(app, projectRoot, serviceConfig)   Constructs a new instance of the ServiceBooter class


Property Modifiers Type Description
app   ApplicationWithServices  
serviceConfig   ArtifactOptions  


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.