Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement instance lifecycle listeners #42

Open
jwells131313 opened this issue Sep 16, 2018 · 0 comments
Open

Implement instance lifecycle listeners #42

jwells131313 opened this issue Sep 16, 2018 · 0 comments
Assignees

Comments

@jwells131313
Copy link
Owner

Instance lifecycle listeners are very useful for debugging the internals of the dargo system and for other reasons. Note that instance listeners are different from Validation listeners because validation listeners are for lookups/injections of services (which may already exist). Instance listeners are different from Configuration listeners because configuration listeners are only for bind/unbind.

Instance listeners are called at specific points in the lifecycle of an actual service object:

PRE_PRODUCTION
POST_PRODUCTION
PRE_DESTRUCTION

@jwells131313 jwells131313 self-assigned this Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant