cancel
Showing results for 
Search instead for 
Did you mean: 

wdDoApplicationStateChange?

Former Member
0 Kudos

Hi ,

In webdynpro comp controller. we can see this hook method, can anybody explain when and where we use this method in our app..

GS

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

As per wd

This informs the application about a state change.

This hook is called e.g. to tell the application that it will be

left via a suspend plug and therefore should go into a suspend/sleep

mode with minimal need of resources.

left due to a timeout and could write it's state to a data base if the

user comes back later on.

reason is available via IWDApplicationStateChangeInfo

This hook is called for the top level component only!

stateChangeInfo contains the information about the nature of the state change

stateChangeReturn allows the application to ask for a different state change.

The framework is allowed to ignore it considering i.e. the current resources situation.

Regards

Ayyapparaj