Singletons that implement this interface receive callbacks for structural container events.
Optional
Called before the parent container of this instance is destroyed.
Called when this key is realized by its parent container.
Called before an instance of a key is released from the container.
Singletons that implement this interface receive callbacks for structural container events.