Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticListableObjectFactory Members

StaticListableObjectFactory overview

Public Instance Constructors

StaticListableObjectFactory Constructor Initializes a new instance of the StaticListableObjectFactory class.

Public Instance Properties

IsCaseSensitive Determine whether this object factory treats object names case-sensitive or not.
Item Return an instance of the given object name.
ObjectDefinitionCount Return the number of objects defined in the factory.

Public Instance Methods

AddObject Add a new singleton object.
ConfigureObjectOverloaded. Injects dependencies into the supplied target instance using the named object definition.
ContainsObject Does this object factory contain an object with the given name?
ContainsObjectDefinition Tests whether this object factory contains an object definition for the specified object name.
CreateObject This method is not supported by StaticListableObjectFactory.
Dispose Defines a method to release allocated unmanaged resources.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAliases Return the aliases for the given object name, if defined.
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.
GetObjectOverloaded. Return an instance of the given object name.
GetObjectDefinitionOverloaded. Not supported.
GetObjectDefinitionNamesOverloaded. Return the names of all objects defined in this factory.
GetObjectNamesForTypeOverloaded. Return the names of objects matching the given Type (including subclasses), judging from the object definitions.
GetObjectsOfTypeOverloaded. Return the object instances that match the given object Type (including subclasses), judging from either object definitions or the value of ObjectType in the case of IFactoryObjects.
GetTypeOverloaded. Determine the type of the object with the given name.
GetType (inherited from Object)Overloaded. Gets the Type of the current instance.
IsPrototype Determines whether the specified object name is prototype. That is, will GetObject always return independent instances?
IsSingleton Is this object a singleton?
IsTypeMatch Determines whether the object with the given name matches the specified type.
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

StaticListableObjectFactory Class | Spring.Objects.Factory.Support Namespace