Packageorg.springextensions.actionscript.ioc
Classpublic class ObjectDefinitionScope

Enumeration for the scopes of an object definition.

Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1



Public Properties
 PropertyDefined by
  name : String
[read-only] Returns the name of the scope.
ObjectDefinitionScope
Public Methods
 MethodDefined by
  
ObjectDefinitionScope(name:String)
Creates a new ObjectDefintionScope object.
ObjectDefinitionScope
  
[static]
ObjectDefinitionScope
Public Constants
 ConstantDefined by
  PROTOTYPE : ObjectDefinitionScope
[static]
ObjectDefinitionScope
  PROTOTYPE_NAME : String = "prototype"
[static]
ObjectDefinitionScope
  SINGLETON : ObjectDefinitionScope
[static]
ObjectDefinitionScope
  SINGLETON_NAME : String = "singleton"
[static]
ObjectDefinitionScope
Property detail
nameproperty
name:String  [read-only]

Returns the name of the scope.

Implementation
    public function get name():String
Constructor detail
ObjectDefinitionScope()constructor
public function ObjectDefinitionScope(name:String)

Creates a new ObjectDefintionScope object. This constructor is only used internally to set up the enum and all calls will fail.

Parameters
name:String — the name of the scope
Method detail
fromName()method
public static function fromName(name:String):ObjectDefinitionScope

Parameters
name:String

Returns
ObjectDefinitionScope
Constant detail
PROTOTYPEconstant
public static const PROTOTYPE:ObjectDefinitionScope
PROTOTYPE_NAMEconstant 
public static const PROTOTYPE_NAME:String = "prototype"
SINGLETONconstant 
public static const SINGLETON:ObjectDefinitionScope
SINGLETON_NAMEconstant 
public static const SINGLETON_NAME:String = "singleton"