C# Class Spring.Objects.Factory.Support.AbstractObjectDefinition

Inheritance: IConfigurableObjectDefinition
ファイルを表示 Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
AddQualifier ( AutowireCandidateQualifier qualifier ) : void

Register a qualifier to be used for autowire candidate resolution, keyed by the qualifier's type name. AutowireCandidateQualifier

CopyQualifiersFrom ( AbstractObjectDefinition source ) : void

Copy the qualifiers from the supplied AbstractBeanDefinition to this bean definition.

GetQualifier ( string typeName ) : AutowireCandidateQualifier

Return the qualifier mapped to the provided type name.

GetQualifiers ( ) : Set

Return all registered qualifiers.

HasQualifier ( string typeName ) : bool

Return whether this bean has the specified qualifier.

OverrideFrom ( IObjectDefinition other ) : void

Override settings in this object definition from the supplied other object definition.

PrepareMethodOverrides ( ) : void

Validates all MethodOverrides

ResolveObjectType ( ) : Type

Resolves the type of the object, resolving it from a specified object type name if necessary.

ToString ( ) : string

Returns a System.String that represents the current System.Object.

Validate ( ) : void

Validate this object definition.

Protected Methods

Method Description
AbstractObjectDefinition ( ) : System

Creates a new instance of the Spring.Objects.Factory.Support.AbstractObjectDefinition class.

This is an class, and as such exposes no public constructors.

AbstractObjectDefinition ( Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System

Creates a new instance of the Spring.Objects.Factory.Support.AbstractObjectDefinition class.

This is an class, and as such exposes no public constructors.

AbstractObjectDefinition ( IObjectDefinition other ) : System

Creates a new instance of the Spring.Objects.Factory.Support.AbstractObjectDefinition class.

This is an class, and as such exposes no public constructors.

PrepareMethodOverride ( Spring.Objects.Factory.Support.MethodOverride methodOverride ) : void

Validate the supplied methodOverride.

Method Details

AbstractObjectDefinition() protected method

Creates a new instance of the Spring.Objects.Factory.Support.AbstractObjectDefinition class.

This is an class, and as such exposes no public constructors.

protected AbstractObjectDefinition ( ) : System
return System

AbstractObjectDefinition() protected method

Creates a new instance of the Spring.Objects.Factory.Support.AbstractObjectDefinition class.

This is an class, and as such exposes no public constructors.

protected AbstractObjectDefinition ( Spring.Objects.Factory.Config.ConstructorArgumentValues arguments, MutablePropertyValues properties ) : System
arguments Spring.Objects.Factory.Config.ConstructorArgumentValues
properties MutablePropertyValues
return System

AbstractObjectDefinition() protected method

Creates a new instance of the Spring.Objects.Factory.Support.AbstractObjectDefinition class.

This is an class, and as such exposes no public constructors.

protected AbstractObjectDefinition ( IObjectDefinition other ) : System
other IObjectDefinition /// The object definition used to initialise the member fields of this /// instance. ///
return System

AddQualifier() public method

Register a qualifier to be used for autowire candidate resolution, keyed by the qualifier's type name. AutowireCandidateQualifier
public AddQualifier ( AutowireCandidateQualifier qualifier ) : void
qualifier AutowireCandidateQualifier
return void

CopyQualifiersFrom() public method

Copy the qualifiers from the supplied AbstractBeanDefinition to this bean definition.
public CopyQualifiersFrom ( AbstractObjectDefinition source ) : void
source AbstractObjectDefinition the AbstractBeanDefinition to copy from
return void

GetQualifier() public method

Return the qualifier mapped to the provided type name.
public GetQualifier ( string typeName ) : AutowireCandidateQualifier
typeName string
return AutowireCandidateQualifier

GetQualifiers() public method

Return all registered qualifiers.
public GetQualifiers ( ) : Set
return Set

HasQualifier() public method

Return whether this bean has the specified qualifier.
public HasQualifier ( string typeName ) : bool
typeName string
return bool

OverrideFrom() public method

Override settings in this object definition from the supplied other object definition.
public OverrideFrom ( IObjectDefinition other ) : void
other IObjectDefinition /// The object definition used to override the member fields of this instance. ///
return void

PrepareMethodOverride() protected method

Validate the supplied methodOverride.
protected PrepareMethodOverride ( Spring.Objects.Factory.Support.MethodOverride methodOverride ) : void
methodOverride Spring.Objects.Factory.Support.MethodOverride /// The /// to be validated. ///
return void

PrepareMethodOverrides() public method

Validates all MethodOverrides
public PrepareMethodOverrides ( ) : void
return void

ResolveObjectType() public method

Resolves the type of the object, resolving it from a specified object type name if necessary.
/// If the type cannot be resolved. ///
public ResolveObjectType ( ) : Type
return System.Type

ToString() public method

Returns a System.String that represents the current System.Object.
public ToString ( ) : string
return string

Validate() public method

Validate this object definition.
/// In the case of a validation failure. ///
public Validate ( ) : void
return void