akwizgran created page: application lifecycle

akwizgran
2016-01-21 14:28:27 +00:00
parent 86e0fc52d2
commit 9c95f852be

16
application-lifecycle.md Normal file

@@ -0,0 +1,16 @@
* Dependency injection
* Services registered with LifecycleManager
* Hooks for adding/removing contacts registered with ContactManager
* Hooks for adding/removing identities registered with IdentityManager
* Sign in
* User enters password
* Password used to decrypt database key
* Database opened
* Services started
* PluginManager creates and starts plugins
* Main user interface shown
* Sign out
* Services stopped
* Executors shut down
* Database closed
* Shutdown hooks run (not guaranteed)