ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.gravity.framework 

IBundleActivator  - AS3 ADEP Client Component

Packagecom.adobe.gravity.framework
Interfacepublic interface IBundleActivator

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

IBundleActivator is the interface to implement when creating a bundle.



Public Methods
 MethodDefined By
  
The bundleStart function will be called when the bundle is started.
IBundleActivator
  
The bundleStop function will be called when the bundle is stopped.
IBundleActivator
Method Detail

bundleStart

()method
public function bundleStart(context:IBundleContext):com.adobe.gravity.utility.async:IToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

The bundleStart function will be called when the bundle is started.

Parameters

context:IBundleContext — The bundle context for this bundle.

Returns
com.adobe.gravity.utility.async:IToken — A token that can have success or failure handlers added. Note that if the bundle is immediately ready on completion of the function, null can be returned to indicate that.

bundleStop

()method 
public function bundleStop(context:IBundleContext):com.adobe.gravity.utility.async:IToken

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Runtime Versions: AIR 1.1, Flash Player 9

The bundleStop function will be called when the bundle is stopped. Note that the framework will automatically unregister all services registered by a bundle after calling this method for a bundle; there is no need to unregister services in this method.

Parameters

context:IBundleContext — The bundle context for this bundle.

Returns
com.adobe.gravity.utility.async:IToken — A token that can have success or failure handlers added. Note that if the bundle is immediately ready on completion of the function, null can be returned to indicate that.