diff --git a/application-lifecycle.md b/application-lifecycle.md new file mode 100644 index 0000000..006e414 --- /dev/null +++ b/application-lifecycle.md @@ -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)