Making a Component Shutdown Aware

This document explains the step by step procedure to make a component shutdown aware.

Before you start, you must know:

  • State Aware Session provides an API that allows clients to manage notification of system state transitions.

  • System State transitions such as Start-up, Normal, Shutdown and Fail.

It is necessary to make a component shutdown aware to delay the shutdown until the component completes the shutdown related tasks.

Follow the steps given below to make a component shutdown aware:


  1. Register for shutdown notification through RSsmStateAwareSession for shutdown notification if they need to do save critical or non-critical data and perform clean-up tasks at the time of shutdown.

  2. Managing shutdown to acknowledge the request and register the component for any state changes and close the session to free the resources that were used during the Connect().