Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


oracle.adfmf.application
Interface LifeCycleListener


public interface LifeCycleListener

The application life cycle listener provides the basic structure for developers needing to include their own functionality during the different stages of the application life cycle. Please note that there is no user associated with any of the following methods.

Common examples of functionality that might be added:

start:


activate:


deactivate:


stop:

NOTE:

See Also:
LifeCycleListener

Method Summary
 void activate()
          The activate method will be called when the application is started (post the start method) and when an application is resumed by the operating system.
 void deactivate()
          The deactivate method will be called as part of the application shutdown process or when the application is being deactivated/hibernated by the operating system.
 void start()
          The start method will be called at the start of the application.
 void stop()
          The stop method will be called at the termination of the application.

 

Method Detail

start

void start()
The start method will be called at the start of the application.

NOTE:


stop

void stop()
The stop method will be called at the termination of the application.

NOTE:


activate

void activate()
The activate method will be called when the application is started (post the start method) and when an application is resumed by the operating system. If the application supports checkpointing, this is a place where the application should read the checkpoint information and resume the process.

NOTE:

See Also:
oracle.adfmf.feature.LifeCycleListener.activate()

deactivate

void deactivate()
The deactivate method will be called as part of the application shutdown process or when the application is being deactivated/hibernated by the operating system. This is the place where application developers would write application checkpoint information in either a database or a "device only" file so if the application is terminated while in the background the application can resume the process when the application is reactivated.

NOTE:

See Also:
oracle.adfmf.feature.LifeCycleListener.deactivate()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


Copyright © 2012, 2013 Oracle. All Rights Reserved.