Packagesystem.ioc
Classpublic class ObjectScope
InheritanceObjectScope Inheritance Object

The static enumeration list of all object scopes.



Public Methods
 MethodDefined By
  
validate(scope:String):Boolean
[static] Returns true if the passed value is a valid scope reference.
ObjectScope
Public Constants
 ConstantDefined 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
Method Detail
validate()method
public static function validate(scope:String):Boolean

Returns true if the passed value is a valid scope reference.

Parameters

scope:String

Returns
Boolean — true if the passed value is a valid scope reference.
Constant Detail
PROTOTYPEConstant
public static const PROTOTYPE:String = prototype

Defines the scope of a single object definition to any number of object instances.

SCOPESConstant 
public static const SCOPES:Array

The Array representation of all object scopes constants.

SINGLETONConstant 
public static const SINGLETON:String = singleton

Defines the scope of a single object definition to a single object instance per IoC container.