Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectDefinition Members

AbstractObjectDefinition overview

Public Instance Properties

AutowireMode The autowire mode as specified in the object definition.
ConstructorArgumentValues The constructor argument values for this object.
DependencyCheck The dependency checking mode.
DependsOn The object names that this object depends on.
DestroyMethodName Return the name of the destroy method.
EventHandlerValues The event handler values for this object.
FactoryMethodName The name of the factory method to use (if any).
FactoryObjectName The name of the factory object to use (if any).
HasConstructorArgumentValues Does this object definition have any constructor argument values?
HasMethodOverrides Does this definition have any MethodOverrides?
HasObjectType Is the Type of the object definition a resolved Type?
InitMethodName The name of the initializer method.
IsAbstract Is this object definition "abstract", i.e. not meant to be instantiated itself but rather just serving as a parent for concrete child object definitions.
IsAutowireCandidate Gets or sets a value indicating whether this instance a candidate for getting autowired into some other object.
IsLazyInit Is this object lazily initialized?
IsPrototype Gets a value indicating whether this instance is prototype, with an independent instance returned for each call.
IsSingleton Is this definition a singleton, with a single, shared instance returned on all calls to an enclosing container (typically an IObjectFactory or IApplicationContext).
IsTemplate Is this object definition a "template", i.e. not meant to be instantiated itself but rather just serving as an object definition for configuration templates used by ConfigureObject.
MethodOverrides The method overrides (if any) for this object.
ObjectType The Type of the object definition (if any).
ObjectTypeName Returns the FullName of the Type of the object definition (if any).
ParentName The name of the parent definition of this object definition, if any.
PropertyValues The property values that are to be applied to the object upon creation.
ResolvedAutowireMode Gets the resolved autowire mode.
ResourceDescription A description of the resource that this object definition came from (for the purpose of showing context in case of errors).
Role Get or set the role hint for this object definition
Scope The name of the target scope for the object. Defaults to "singleton", ootb alternative is "prototype". Extended object factories might support further scopes.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
OverrideFrom Override settings in this object definition from the supplied other object definition.
PrepareMethodOverrides Validates all MethodOverrides
ResolveObjectType Resolves the type of the object, resolving it from a specified object type name if necessary.
ToString Returns a String that represents the current Object.
Validate Validate this object definition.

Protected Instance Constructors

AbstractObjectDefinition Overloaded. Initializes a new instance of the AbstractObjectDefinition class.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
PrepareMethodOverride Validate the supplied methodOverride.

See Also

AbstractObjectDefinition Class | Spring.Objects.Factory.Support Namespace