Пакет | com.adobe.mosaic.om.interfaces |
Интерфейс | public interface IRuntimeManager extends IManager |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
IRuntimeManager
interface represents an instance of a process runtime.
Use this interface to load and unload applications, and to create ad-hoc applications.
The implementation of this object will be responsible for initializing the runtime environment
with runtime structure of the application. Though the API allows for multiple applications,
underlying infrastructure precludes this for the time being.
There may only be one loaded IApplication at a time.
Общедоступные свойства
Свойство | Определено | ||
---|---|---|---|
loadedApplications : Array [только для чтения]
Returns an array of elements that implement IApplication, representing the applications
that are currently resident in the runtime
| IRuntimeManager | ||
name : String [только для чтения]
Returns the name associated with the manager object. | IManager |
Общедоступные методы
Метод | Определено | ||
---|---|---|---|
loadApplication(specifier:IApplicationSpecifier, onSuccess:Function = null, onFailure:Function = null):void
Loads an IApplication from the provided specifier into the runtime, making it fully available
for programmatic access. | IRuntimeManager | ||
unloadApplication(application:IApplication, onSuccess:Function = null, onFailure:Function = null):void
Removes an IApplication from the runtime, releasing all unique resources created by the
IApplication resources for cleanup by the Flash Player. | IRuntimeManager |
Сведения о свойстве
loadedApplications | свойство |
loadedApplications:Array
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Returns an array of elements that implement IApplication, representing the applications that are currently resident in the runtime
Реализация
public function get loadedApplications():Array
Сведения о методе
loadApplication | () | метод |
public function loadApplication(specifier:IApplicationSpecifier, onSuccess:Function = null, onFailure:Function = null):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Loads an IApplication from the provided specifier into the runtime, making it fully available for programmatic access. Specifying a null specifier is valid and will result in the creation of an Transient (non-persisted) IApplication. This is useful for creating on-the-fly applications that consist of catalog components of which the application author has prior knowledge.
Параметры
specifier:IApplicationSpecifier — The IApplicationSpecifier to load into the runtime.
| |
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
unloadApplication | () | метод |
public function unloadApplication(application:IApplication, onSuccess:Function = null, onFailure:Function = null):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10 |
Версии среды выполнения: | AIR 2.6, Flash Player 10.2 |
Removes an IApplication from the runtime, releasing all unique resources created by the IApplication resources for cleanup by the Flash Player.
Параметры
application:IApplication — The IApplication instance to remove from the runtime.
| |
onSuccess:Function (default = null ) — The onSuccess function.
| |
onFailure:Function (default = null ) — The onFailure function.
|
Tue Jun 12 2018, 11:34 AM Z