| Package | potomac.bundle |
| Class | public class BundleInstallDescriptor |
| Inheritance | BundleInstallDescriptor Object |
WARNING: Using the url property of a BundleInstallDescriptor allows bundles to be loaded from a domain other than the one which served the main applications. Currently, all Potomac bundles are loaded into the primary ApplicationDomain and SecurityDomain. Extreme care should be taken when using the url property to ensure that the bundles are trusted.
| Property | Defined By | ||
|---|---|---|---|
| bundleID : String [read-only]
The bundle ID. | BundleInstallDescriptor | ||
| preload : Boolean [read-only]
True if the bundle should be preloaded (loaded at immediately after installation). | BundleInstallDescriptor | ||
| url : String [read-only]
The bundle url or null. | BundleInstallDescriptor | ||
| Method | Defined By | ||
|---|---|---|---|
BundleInstallDescriptor(bundleID:String, preload:Boolean = false, url:String = null)
Creates a descriptor. | BundleInstallDescriptor | ||
| bundleID | property |
bundleID:String [read-only] The bundle ID.
public function get bundleID():String| preload | property |
preload:Boolean [read-only] True if the bundle should be preloaded (loaded at immediately after installation).
public function get preload():Boolean| url | property |
url:String [read-only] The bundle url or null. When null, the bundle is assumed to be located in a 'bundles' directory located in the location where the main application was served.
WARNING: When specifying a url value you may potentially allow a bundle from another domain to be loaded into your application. Currently, all Potomac bundles are loaded in the same ApplicationDomain and SecurityDomain. Extreme care should be taken to ensure that all bundles loaded this way are trusted.
public function get url():String| BundleInstallDescriptor | () | Constructor |
public function BundleInstallDescriptor(bundleID:String, preload:Boolean = false, url:String = null)Creates a descriptor.
ParametersbundleID:String — The id of the bundle to install.
| |
preload:Boolean (default = false) — The url of the bundle if the bundle does not exist in the standard location.
| |
url:String (default = null) |