[ARQ-1358] Added additional ApplicationContext life cycle events.