| Package | vegas.ioc.io |
| Class | public class AssemblyResource |
| Inheritance | AssemblyResource ObjectResource SimpleValueObject Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | cache : Boolean
The cache flag of this resource (default is true). | ObjectResource | |
| checkPolicyFile : Boolean
Indicates if the assembly must check a policy file in the server of the external library to load. | AssemblyResource | ||
![]() | data : *
The data object of this resource. | ObjectResource | |
| DEFAULT_CLASS_NAME : String = flash.display.DisplayObject [static]
The default class name of the object definition if the id of the assembly is not 'null' or 'undefined'. | AssemblyResource | ||
| DEFAULT_LOADER : Class [static]
The default Loader class use in all AssemblyResource to create a new resource process. | AssemblyResource | ||
| DEFAULT_PATH : String [static]
The root path of all assembly resources. | AssemblyResource | ||
| definition : Object
Indicates the definition object to initialize the ObjectDefinition of the current assembly. | AssemblyResource | ||
| delay : Number
Indicates the delay of the timeout notification of the internal loader of this resource if the timeoutPolicy is "limit". | AssemblyResource | ||
| domain : String
Indicates if the assembly is loading in the current domain or a specific ApplicationDomain (default "current"). | AssemblyResource | ||
![]() | enabled : Boolean
A enabled flag of this resource. | ObjectResource | |
![]() | id : *
Indicates the id of this ValueObject. | SimpleValueObject | |
| loader : *
The loader to use to load the assembly. | AssemblyResource | ||
![]() | owner : *
The owner reference of this resource. | ObjectResource | |
| path : String
The optional root path of the assembly. | AssemblyResource | ||
![]() | resource : String
The resource value. | ObjectResource | |
| timeoutPolicy : TimeoutPolicy
Indicates the timeout policy of the loader (TimeoutPolicy.LIMIT (default) or TimeoutPolicy.INFINITY). | AssemblyResource | ||
![]() | type : String
The type of the resource. | ObjectResource | |
![]() | verbose : Boolean
Indicates the verbose mode of the resource. | ObjectResource | |
| Method | Defined By | ||
|---|---|---|---|
AssemblyResource(init:Object = null)
Creates a new AssemblyResource instance. | AssemblyResource | ||
[override]
Creates a new ActionURLLoader object with the resource. | AssemblyResource | ||
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | SimpleValueObject | |
![]() | formatToString(className:String = null, ... args):String
A utility function for implementing the toString() method. | SimpleValueObject | |
initialize(... args):void [override]
The optional method invoked when the resource is loading. | AssemblyResource | ||
register(type:String = assembly):void [static]
Registers the resource in the ObjectResourceBuilder. | AssemblyResource | ||
![]() | toObject():Object
Returns the Object representation of this object. | SimpleValueObject | |
![]() | toSource(indent:int = 0):String
Returns the source code string representation of the object. | SimpleValueObject | |
![]() | toString():String [override]
Returns the String representation of this object. | ObjectResource | |
| checkPolicyFile | property |
public var checkPolicyFile:BooleanIndicates if the assembly must check a policy file in the server of the external library to load.
| DEFAULT_CLASS_NAME | property |
public static var DEFAULT_CLASS_NAME:String = flash.display.DisplayObjectThe default class name of the object definition if the id of the assembly is not 'null' or 'undefined'.
| DEFAULT_LOADER | property |
public static var DEFAULT_LOADER:ClassThe default Loader class use in all AssemblyResource to create a new resource process.
| DEFAULT_PATH | property |
public static var DEFAULT_PATH:StringThe root path of all assembly resources.
| definition | property |
public var definition:ObjectIndicates the definition object to initialize the ObjectDefinition of the current assembly. Use this attribute only if the 'id' of the assembly resource is not 'null' or 'undefined'.
| delay | property |
public var delay:NumberIndicates the delay of the timeout notification of the internal loader of this resource if the timeoutPolicy is "limit". If the delay property is NaN the internal loader use this default delay value.
See also
| domain | property |
domain:StringIndicates if the assembly is loading in the current domain or a specific ApplicationDomain (default "current").
public function get domain():String public function set domain(value:String):void| loader | property |
public var loader:*The loader to use to load the assembly.
| path | property |
public var path:StringThe optional root path of the assembly.
| timeoutPolicy | property |
public var timeoutPolicy:TimeoutPolicyIndicates the timeout policy of the loader (TimeoutPolicy.LIMIT (default) or TimeoutPolicy.INFINITY).
| AssemblyResource | () | Constructor |
public function AssemblyResource(init:Object = null)Creates a new AssemblyResource instance.
Parametersinit:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
|
| create | () | method |
override public function create():CoreActionLoaderCreates a new ActionURLLoader object with the resource.
ReturnsCoreActionLoader |
| initialize | () | method |
override public function initialize(... args):voidThe optional method invoked when the resource is loading.
Parameters
... args |
| register | () | method |
public static function register(type:String = assembly):voidRegisters the resource in the ObjectResourceBuilder.
Parameters
type:String (default = assembly) |