| Package | system.ioc |
| Class | public class ObjectScope |
| Inheritance | ObjectScope Object |
| Method | Defined By | ||
|---|---|---|---|
validate(scope:String):Boolean [static]
Returns true if the passed value is a valid scope reference. | ObjectScope | ||
| Constant | Defined By | ||
|---|---|---|---|
| PROTOTYPE : String = prototype [static]
Defines the scope of a single object definition to any number of object instances. | ObjectScope | ||
| SCOPES : Array [static]
The Array representation of all object scopes constants. | ObjectScope | ||
| SINGLETON : String = singleton [static]
Defines the scope of a single object definition to a single object instance per IoC container. | ObjectScope | ||
| validate | () | method |
public static function validate(scope:String):BooleanReturns true if the passed value is a valid scope reference.
Parameters
scope:String |
Boolean — true if the passed value is a valid scope reference.
|
| PROTOTYPE | Constant |
public static const PROTOTYPE:String = prototypeDefines the scope of a single object definition to any number of object instances.
| SCOPES | Constant |
public static const SCOPES:ArrayThe Array representation of all object scopes constants.
| SINGLETON | Constant |
public static const SINGLETON:String = singletonDefines the scope of a single object definition to a single object instance per IoC container.