Page Contents

Home > @loopback/boot > LifeCycleObserverBooter

LifeCycleObserverBooter class

A class that extends BaseArtifactBooter to boot the ‘LifeCycleObserver’ artifact type.

Supported phases: configure, discover, load


export declare class LifeCycleObserverBooter extends BaseArtifactBooter 

Extends: BaseArtifactBooter


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


Property Modifiers Type Description
app   Application  
observerConfig   ArtifactOptions  
observers   LifeCycleObserverClass[]  


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.