| Package | org.springextensions.actionscript.ioc |
| SVN browsing | AutowireMode.as |
| Fisheye | AutowireMode.as |
| Class | public class AutowireMode |
See also
Documentation reference: autowiring objects
| Property | Defined by | ||
|---|---|---|---|
| name : String [read-only]
Returns the name of the autowire type.
| AutowireMode | ||
| Method | Defined by | ||
|---|---|---|---|
|
AutowireMode(name:String)
Creates a new ObjectDefintionAutowire object.
| AutowireMode | ||
|
fromName(name:String):AutowireMode
[static]
| AutowireMode | ||
|
toString():String
| AutowireMode | ||
| Constant | Defined by | ||
|---|---|---|---|
| AUTODETECT : AutowireMode
[static] Autowire by constructor or by type depending whether there is a constructor with arguments or not
| AutowireMode | ||
| AUTODETECT_NAME : String = "autodetect" [static]
| AutowireMode | ||
| BYNAME : AutowireMode
[static] Autowire unclaimed non simple properties with object having the same name of the properties
| AutowireMode | ||
| BYNAME_NAME : String = "byName" [static]
| AutowireMode | ||
| BYTYPE : AutowireMode
[static] Autowire unclaimed non simple properties with objects having the same type
| AutowireMode | ||
| BYTYPE_NAME : String = "byType" [static]
| AutowireMode | ||
| CONSTRUCTOR : AutowireMode
[static] Autowire constructor arguments with objects having the same type
| AutowireMode | ||
| CONSTRUCTOR_NAME : String = "constructor" [static]
| AutowireMode | ||
| NO : AutowireMode
[static] No autowire on the object
| AutowireMode | ||
| NO_NAME : String = "no" [static] Autowired values
| AutowireMode | ||
| name | property |
name:String [read-only]Returns the name of the autowire type.
Implementation public function get name():String
| AutowireMode | () | constructor |
public function AutowireMode(name:String)Creates a new ObjectDefintionAutowire object. This constructor is only used internally to set up the enum and all calls will fail.
Parametersname:String — the name of the scope
|
| fromName | () | method |
public static function fromName(name:String):AutowireModeParameters
name:String |
AutowireMode |
| toString | () | method |
public function toString():String
Returns
String |
| AUTODETECT | constant |
public static const AUTODETECT:AutowireModeAutowire by constructor or by type depending whether there is a constructor with arguments or not
| AUTODETECT_NAME | constant |
public static const AUTODETECT_NAME:String = "autodetect"
| BYNAME | constant |
public static const BYNAME:AutowireModeAutowire unclaimed non simple properties with object having the same name of the properties
| BYNAME_NAME | constant |
public static const BYNAME_NAME:String = "byName"
| BYTYPE | constant |
public static const BYTYPE:AutowireModeAutowire unclaimed non simple properties with objects having the same type
| BYTYPE_NAME | constant |
public static const BYTYPE_NAME:String = "byType"
| CONSTRUCTOR | constant |
public static const CONSTRUCTOR:AutowireModeAutowire constructor arguments with objects having the same type
| CONSTRUCTOR_NAME | constant |
public static const CONSTRUCTOR_NAME:String = "constructor"
| NO | constant |
public static const NO:AutowireModeNo autowire on the object
| NO_NAME | constant |
public static const NO_NAME:String = "no"Autowired values