Implement this interface and register with the ShutdownManager
(::getInstance, ::addListener) to be notified of all shutdown events
with the method in this listener. Use the EventType in the context to
determine the shutdown action occurring from the container.