套件 | com.adobe.gravity.service.bundleloader |
介面 | public interface IBundleLoaderContext |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
屬性 | 定義自 | ||
---|---|---|---|
activator : IBundleActivator
The bundle activator for this bundle. | IBundleLoaderContext | ||
allowCodeImport : Boolean [唯讀]
Whether the bundle should be import loaded if it naturally belongs in another SecurityDomain. | IBundleLoaderContext | ||
applicationDomain : ApplicationDomain [唯讀]
The ApplicationDomain for the bundle being loaded. | IBundleLoaderContext | ||
baseURL : String [唯讀]
The base URL on which to compute absolute paths for relative URLs. | IBundleLoaderContext | ||
bundleContext : IBundleContext [唯讀]
The bundle context for the bundle being loaded. | IBundleLoaderContext |
方法 | 定義自 | ||
---|---|---|---|
Ask the framework to finish the load of the bundle, running any subsequent bundle loaders and then the bundle activator. | IBundleLoaderContext | ||
Ask the framework to attempt injection of any injectable services. | IBundleLoaderContext |
activator | 屬性 |
activator:IBundleActivator
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
The bundle activator for this bundle.
實作
public function get activator():IBundleActivator
public function set activator(value:IBundleActivator):void
allowCodeImport | 屬性 |
allowCodeImport:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
Whether the bundle should be import loaded if it naturally belongs in another SecurityDomain.
實作
public function get allowCodeImport():Boolean
applicationDomain | 屬性 |
applicationDomain:ApplicationDomain
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
The ApplicationDomain for the bundle being loaded.
實作
public function get applicationDomain():ApplicationDomain
baseURL | 屬性 |
bundleContext | 屬性 |
bundleContext:IBundleContext
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
The bundle context for the bundle being loaded.
實作
public function get bundleContext():IBundleContext
finishLoad | () | 方法 |
public function finishLoad(suppressDefaultLoader:Boolean):com.adobe.gravity.utility.async:IToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
Ask the framework to finish the load of the bundle, running any subsequent bundle loaders and then the bundle activator.
參數
suppressDefaultLoader:Boolean — Suppress the implicit default loader that loads the bundle SWF with a Loader; set to true if this bundle loader has already loaded the bundle SWF.
|
com.adobe.gravity.utility.async:IToken — A token used to set success and failure handlers to be called when the operation has completed. The success handler will be called with no parameters.
|
performInjection | () | 方法 |
public function performInjection():com.adobe.gravity.utility.async:IToken
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
執行階段版本: | AIR 1.1, Flash Player 9 |
Ask the framework to attempt injection of any injectable services. Note that the framework will do this automatically after each bundle loader; this only needs to be called if you want injection to happen in the middle of your bundle loader's operations. This will make the framework attempt to inject the bundle's IBundleContext into com.adobe.gravity.context.BundleContext.currentContext and perform any other registered injections. It is not a failure if any injection can't be performed (as it would if, for example, the bundle doesn't contain com.adobe.gravity.context.BundleContext). Injectable classes MUST NOT exist shared bundles; an error will be returned if injectable classes are found in a shared bundle.
傳回值com.adobe.gravity.utility.async:IToken — A token used to set success and failure handlers to be called when the operation has completed. The success handler will be called with no parameters.
|
Tue Jun 12 2018, 03:47 PM Z