PreDestroy

Methods marked with this UDA within dependencies are called before the container loses the dependency's registration.

This method is called when removeRegistration or clearAllRegistrations is called. It will also be called when the container's destructor is called.

struct PreDestroy

Meta