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:
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.
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().
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.