This document discusses the evolution of bundle deployment in JBoss using a state machine-based approach. Key points include:
- Dependency state machines are used to model component lifecycles and dependencies.
- Aspectized deployers allow each deployment concern to be handled separately (e.g. parsing, classloading).
- Deployments are processed width-first through different deployment stages.
- Attachments are used to associate metadata with deployments at different stages.
- The model was rewritten to simplify the SPI and enable integration with OSGi.