Packageorg.springextensions.actionscript.ioc
SVN browsingDependencyCheckMode.as
FisheyeDependencyCheckMode.as
Classpublic class DependencyCheckMode

Enumeration for dependency check modes for object properties.

See also

IObjectDefinition


Documentation reference: autowiring objects


Public Properties
 PropertyDefined by
  name : String
[read-only] Returns the name of the autowire type.
DependencyCheckMode
Public Methods
 MethodDefined by
  
DependencyCheckMode(name:String)
Creates a new ObjectDefintionDependencyCheck instance.
DependencyCheckMode
  
DependencyCheckMode
  
DependencyCheckMode
  
[static]
DependencyCheckMode
  
toString():String
DependencyCheckMode
Public Constants
 ConstantDefined by
  ALL : DependencyCheckMode
[static] Dependency check is done on all object properties
DependencyCheckMode
  ALL_NAME : String = "all"
[static]
DependencyCheckMode
  NONE : DependencyCheckMode
[static] No dependency check is done on the object properties
DependencyCheckMode
  NONE_NAME : String = "none"
[static] Autowired values
DependencyCheckMode
  OBJECTS : DependencyCheckMode
[static] Dependency check is done just on "collaborator" (non primitive and non collection) object properties
DependencyCheckMode
  OBJECTS_NAME : String = "objects"
[static]
DependencyCheckMode
  SIMPLE : DependencyCheckMode
[static] Dependency check is done just on primitive and collection object properties
DependencyCheckMode
  SIMPLE_NAME : String = "simple"
[static]
DependencyCheckMode
Property detail
nameproperty
name:String  [read-only]

Returns the name of the autowire type.

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

Creates a new ObjectDefintionDependencyCheck instance. 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
checkObjectProperties()method
public function checkObjectProperties():Boolean

Returns
Booleantrue if object properties should be checked, false otherwise.
checkSimpleProperties()method 
public function checkSimpleProperties():Boolean

Returns
Booleantrue if simple properties should be checked, false otherwise.
fromName()method 
public static function fromName(name:String):DependencyCheckMode

Parameters
name:String

Returns
DependencyCheckMode
toString()method 
public function toString():String

Returns
String
Constant detail
ALLconstant
public static const ALL:DependencyCheckMode

Dependency check is done on all object properties

ALL_NAMEconstant 
public static const ALL_NAME:String = "all"
NONEconstant 
public static const NONE:DependencyCheckMode

No dependency check is done on the object properties

NONE_NAMEconstant 
public static const NONE_NAME:String = "none"

Autowired values

OBJECTSconstant 
public static const OBJECTS:DependencyCheckMode

Dependency check is done just on "collaborator" (non primitive and non collection) object properties

OBJECTS_NAMEconstant 
public static const OBJECTS_NAME:String = "objects"
SIMPLEconstant 
public static const SIMPLE:DependencyCheckMode

Dependency check is done just on primitive and collection object properties

SIMPLE_NAMEconstant 
public static const SIMPLE_NAME:String = "simple"