Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectFactoryUtils Members

ObjectFactoryUtils overview

Public Static (Shared) Fields

FactoryObjectPrefix Used to dereference an IFactoryObject and distinguish it from managed objects created by the factory.
GENERATED_OBJECT_NAME_SEPARATOR The string used as a separator in the generation of synthetic id's for those object definitions explicitly that aren't assigned one.

Public Static (Shared) Methods

BuildFactoryObjectName Given an (object) name, builds a corresponding factory object name such that the return value can be used as a lookup name for a factory object.
CountObjectsIncludingAncestors Count all object definitions in any hierarchy in which this factory participates.
IsFactoryDereference Is the supplied name a factory dereference?
ObjectNamesForTypeIncludingAncestorsOverloaded. Get all object names for the given type, including those defined in ancestor factories.
ObjectNamesIncludingAncestors Return all object names in the factory, including ancestor factories.
ObjectOfTypeOverloaded. Return a single object of the given type or subtypes, not looking in ancestor factories.
ObjectOfTypeIncludingAncestors Return a single object of the given type or subtypes, also picking up objects defined in ancestor object factories if the current object factory is an IHierarchicalObjectFactory.
ObjectsOfTypeIncludingAncestors Return all objects of the given type or subtypes, also picking up objects defined in ancestor object factories if the current object factory is an IHierarchicalObjectFactory.
TransformedObjectName Return the object name, stripping out the factory dereference prefix if necessary.

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.
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

ObjectFactoryUtils Class | Spring.Objects.Factory Namespace