Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 860 Bytes

ref_lifecycle.md

File metadata and controls

18 lines (11 loc) · 860 Bytes

◀︎ Airlift◀︎ Reference

Reference: Lifecycle/Bootstrapping

@PostConstruct and @PreDestroy

Airlift enables the standard @PostConstruct and @PreDestroy annotations for objects injected/bound via Airlift's Bootstrap.

Lifecycle Manager

For additional lifecycle management you can inject the LifeCycleManager instance.

Bootstrapping

The Bootstrap class is used to initialize and start Airlift applications. See the example for an example usage of the Bootstrap class.