About lifecycle extensions
The Avalon Framework defines a set of standard interfaces often termed as Lifecycle stages that can be used by a container to determine the components requirements during deployment and subsequent decommissioning.
Lifecycle extensions provide support for the declaration of supplimentary stages above and beyond the classic Avalon stages. These custom stages can be introduced during component creation, deployment, decommissioning, and release.
Interception Points
Stage | Description |
---|---|
CREATE | Lifecycle extension is applied during deployment and prior to initialization. |
ACCESS | Lifecycle extension is triggered to each access to the component via the ServiceManager. |
RELEASE | Lifecycle extension is triggered to each release of the component to the ServiceManager. |
DESTRUCTION | Lifecycle extension is applied during decomissioning and prior to disposal. |