Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionBuilder Members

ObjectDefinitionBuilder overview

Public Static (Shared) Methods

ChildObjectDefinition Create a new
used to construct a child object definition..
GenericObjectDefinitionOverloaded. Creates a new ObjectDefinitionBuilder used to construct a GenericObjectDefinition.
RootObjectDefinitionOverloaded. Create a new
used to construct a root object definition.

Public Instance Properties

ObjectDefinition Validate and gets the object definition.
RawObjectDefinition Gets the current object definition in its raw (unvalidated) form.

Public Instance Methods

AddConstructorArg Adds an index constructor arg value. The current index is tracked internally and all addtions are at the present point
AddConstructorArgReference Adds a reference to the named object as a constructor argument.
AddDependsOn Adds the specified object name to the list of objects that this definition depends on.
AddPropertyReference Adds a reference to the specified object name under the property specified.
AddPropertyValue Adds the property value under the given name.
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.
SetAbstract Sets whether objects or not this definition is abstract.
SetAutowireMode Sets the autowire mode for this definition.
SetDependencyCheck Sets the dependency check mode for this definition.
SetDestroyMethodName Sets the name of the destroy method for this definition.
SetFactoryMethod Sets the name of the factory method to use for this definition.
SetFactoryObject Sets the name of the factory object to use for this definition.
SetInitMethodName Sets the name of the init method for this definition.
SetLazyInit Sets whether objects for this definition should be lazily initialized or not.
SetResourceDescription Sets the resource description for this definition.
SetSingleton Sets whether or not this definition describes a singleton object.
ToString (inherited from Object)Returns a String that represents the current Object.

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.

See Also

ObjectDefinitionBuilder Class | Spring.Objects.Factory.Support Namespace