If this EventListener is registered with a
Session this method is called whenever that Session's
lifecycle changes. Note that the lifecycle may have changed again by the
time this method is called so the Session's current lifecycle may
be different from the value of current.