Skip navigation links

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

E27204-01


oracle.adfmf.feature
Interface LifeCycleListener


public interface LifeCycleListener

An interface extended by classes that want to be invoked as part of the feature life cycle. The feature life cycle consists of activation and deactivation. NOTE: Feature developers must implement this interface if they would like to receive notification of application scoped variable changes across features.


Method Summary
 void activate()
          The activate method will be called when the feature is being displayed.
 void deactivate()
          The deactivate method will be called when a feature is being moved to the background or as part of the application shutdown/hibernation process.

 

Method Detail

activate

void activate()
The activate method will be called when the feature is being displayed. NOTE: 1. This is a blocking call and will freeze the user interface while the method is being executed. If you have any longer running items you should create a background thread and do the work there. 2. Both the application controller's and view controller's classes will be available in this method.

deactivate

void deactivate()
The deactivate method will be called when a feature is being moved to the background or as part of the application shutdown/hibernation process. NOTE: 1. This is a blocking call and will freeze the user interface while the method is being executed. If you have any longer running items you should create a background thread and do the work there. 2. Both the application controller's and view controller's classes will be available in this method.

Skip navigation links

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

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.