Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory Members

AbstractAutowireCapableObjectFactory overview

Protected Static (Shared) Fields

MethodResolutionFlags The BindingFlags used during the invocation and searching for of methods.

Public Instance Properties

IgnoredDependencyTypes (inherited from AbstractObjectFactory) Gets the set of classes that will be ignored for autowiring.
IsCaseSensitive (inherited from AbstractObjectFactory) Returns, whether this factory treats object names case sensitive or not.
Item (inherited from AbstractObjectFactory) Return an instance (possibly shared or independent) of the given object name.
ObjectPostProcessorCount (inherited from AbstractObjectFactory) Returns the current number of registered IObjectPostProcessors.
ObjectPostProcessors (inherited from AbstractObjectFactory) Gets the ISet of IObjectPostProcessors that will be applied to objects created by this factory.
ParentObjectFactory (inherited from AbstractObjectFactory) The parent object factory, or a null reference (Nothing in Visual Basic) if there is none.
SingletonCount (inherited from AbstractObjectFactory) Gets the number of singleton beans registered in this registry.
SingletonNames (inherited from AbstractObjectFactory) Gets the names of singleton objects registered in this registry.

Public Instance Methods

AddObjectPostProcessor (inherited from AbstractObjectFactory) Add a new IObjectPostProcessor that will get applied to objects created by this factory.
ApplyObjectPostProcessorsAfterInitialization Apply IObjectPostProcessors to the given existing object instance, invoking their PostProcessAfterInitialization methods.
ApplyObjectPostProcessorsBeforeInitialization Apply IObjectPostProcessors to the given existing object instance, invoking their PostProcessBeforeInitialization methods.
ApplyObjectPropertyValues Apply the property values of the object definition with the supplied name to the supplied instance.
Autowire Create a new object instance of the given class with the specified autowire strategy.
AutowireObjectProperties Autowire the object properties of the given object instance by name or Type.
ConfigureObjectOverloaded. Injects dependencies into the supplied target instance using the named object definition.
ContainsLocalObject (inherited from AbstractObjectFactory) Determines whether the local object factory contains a bean of the given name, ignoring object defined in ancestor contexts. This is an alternative to
ContainsObject
, ignoring an object of the given name from an ancestor object factory.
ContainsObject (inherited from AbstractObjectFactory) Does this object factory or one of its parent factories contain an object with the given name?
ContainsObjectDefinition (inherited from AbstractObjectFactory) Does this object factory contain an object definition with the supplied name?
ContainsSingleton (inherited from AbstractObjectFactory) Does this object factory contains a singleton instance with the supplied name?
CreateObject (inherited from AbstractObjectFactory) Return an unconfigured(!) instance (possibly shared or independent) of the given object name.
Dispose Destroy all cached singletons in this factory.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetAliases (inherited from AbstractObjectFactory) 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.
GetMergedObjectDefinition (inherited from AbstractObjectFactory)Overloaded. Return a RootObjectDefinition, even by traversing parent if the parameter is a child definition.
GetObject (inherited from AbstractObjectFactory)Overloaded. Return an instance (possibly shared or independent) of the given object name.
GetObjectDefinition (inherited from AbstractObjectFactory)Overloaded. Return the registered IObjectDefinition for the given object, allowing access to its property values and constructor argument values.
GetSingleton (inherited from AbstractObjectFactory) Tries to find a cached object for the specified name.
GetSingletonCount (inherited from AbstractObjectFactory) Returns the number of objects in the singleton cache.
GetSingletonNames (inherited from AbstractObjectFactory)Overloaded. Return the names of objects in the singleton cache that match the given object type (including subclasses).
GetType (inherited from AbstractObjectFactory)Overloaded. Determines the Type of the object with the supplied name.
GetType (inherited from Object)Overloaded. Gets the Type of the current instance.
IgnoreDependencyInterface Ignore the given dependency type for autowiring
IgnoreDependencyType (inherited from AbstractObjectFactory) Ignore the given dependency type for autowiring
IsCurrentlyInCreation (inherited from AbstractObjectFactory) Determines whether the specified object name is currently in creation..
IsObjectNameInUse (inherited from AbstractObjectFactory) Determines whether the given object name is already in use within this factory, i.e. whether there is a local object or alias registered under this name or an inner object created with this name.
IsPrototype (inherited from AbstractObjectFactory) Determines whether the specified object name is prototype. That is, will GetObject always return independent instances?
IsSingleton (inherited from AbstractObjectFactory) Is this object a singleton?
IsTypeMatch (inherited from AbstractObjectFactory) Determines whether the object with the given name matches the specified type.
RegisterAlias (inherited from AbstractObjectFactory) Given an object name, create an alias.
RegisterCustomConverter (inherited from AbstractObjectFactory) Register the given custom TypeConverter for all properties of the given Type.
RegisterObjectDefinition (inherited from AbstractObjectFactory) Register a new object definition with this registry.
RegisterSingleton (inherited from AbstractObjectFactory) Register the given existing object as singleton in the object factory, under the given object name.
ResolveDependency Resolve the specified dependency against the objects defined in this factory.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

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

Protected Instance Properties

DisposableInnerObjects (inherited from AbstractObjectFactory) Set that holds all inner objects created by this factory that implement the IDisposable interface, to be destroyed on call to Dispose.
HasDestructionAwareBeanPostProcessors (inherited from AbstractObjectFactory) Returns, whether this object factory instance contains IDestructionAwareObjectPostProcessor objects.
HasInstantiationAwareBeanPostProcessors (inherited from AbstractObjectFactory) Returns, whether this object factory instance contains IInstantiationAwareObjectPostProcessor objects.
InstantiationStrategy The IInstantiationStrategy implementation to be used to instantiate managed objects.
TemporarySingletonPlaceHolder (inherited from AbstractObjectFactory) Gets the temporary object that is placed into the singleton cache during object resolution.

Protected Instance Methods

AddEagerlyCachedSingleton Add the created, but yet unpopulated singleton to the singleton cache to be able to resolve circular references
AddSingleton (inherited from AbstractObjectFactory) Adds the supplied singleton (object) to this factory's singleton cache.
ApplyObjectPostProcessorsBeforeInstantiation Apply any IInstantiationAwareObjectPostProcessors.
ApplyPropertyValues Apply the given property values, resolving any runtime references to other objects in this object factory.
AutowireByName Fills in any missing property values with references to other objects in this factory if autowire is set to ByName.
AutowireByType Defines "autowire by type" (object properties by type) behavior.
AutowireConstructor "autowire constructor" (with constructor arguments by type) behaviour.
CheckMergedObjectDefinition (inherited from AbstractObjectFactory) Check the supplied merged object definition for any possible validation errors.
ConfigureObjectOverloaded. Configures object instance by injecting dependencies, satisfying Spring lifecycle interfaces and applying object post-processors.
CreateAndCacheSingletonInstance (inherited from AbstractObjectFactory) Creates a singleton instance for the specified object name and definition.
CreateObjectInstance Creates an IObjectWrapper instance from the RootObjectDefinition passed in objectDefinition using constructor arguments
CreateRootObjectDefinition (inherited from AbstractObjectFactory) Creates the root object definition.
CreateValueResolver Create the value resolver strategy to use for resolving raw property values
DependencyCheck Perform a dependency check that all properties exposed have been set, if desired.
DestroyObject Destroy the target object.
DestroySingleton (inherited from AbstractObjectFactory) Destroys the named singleton object.
DetermineConstructorsFromObjectPostProcessors Determines candidate constructors to use for the given bean, checking all registered SmartInstantiationAwareObjectPostProcessor
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.
FindMatchingObjects Find object instances that match the required Type.
GetDependingObjectNames Return the names of the objects that depend on the given object. Called by DestroyObject, to be able to destroy depending objects first.
GetFactoryObject (inherited from AbstractObjectFactory) Convenience method to pull an IFactoryObject from this factory.
GetMergedObjectDefinition (inherited from AbstractObjectFactory)Overloaded. Return a RootObjectDefinition, even by traversing parent if the parameter is a child definition.
GetObjectForInstance (inherited from AbstractObjectFactory)Overloaded. Get the object for the given object instance, either the object instance itself or its created object in case of an IFactoryObject.
GetObjectInternal (inherited from AbstractObjectFactory) Return an instance (possibly shared or independent) of the given object name, optionally injecting dependencies.
GetTypeForFactoryMethod Determines the Type of the object defined by the supplied object definition.
GetTypeForFactoryObject (inherited from AbstractObjectFactory)Overloaded. Gets the type for the given FactoryObject.
InstantiateObjectOverloaded. Create an object instance for the given object definition.
InstantiateUsingFactoryMethod Instantiate an object instance using a named factory method.
InvokeCustomDestroyMethod Invoke the specified custom destroy method on the given object.
InvokeInitMethods Give an object a chance to react now all its properties are set, and a chance to know about its owning object factory (this object).
IsAlias (inherited from AbstractObjectFactory) Determines whether the specified name is defined as an alias as opposed to the name of an actual object definition.
IsFactoryDereference (inherited from AbstractObjectFactory) Is the supplied name a factory object dereference?
IsFactoryObject (inherited from AbstractObjectFactory) Is the object (definition) with the supplied name an IFactoryObject?
IsObjectTypeMatch (inherited from AbstractObjectFactory) Determines whether the type of the given object definition matches the specified target type.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OriginalObjectName (inherited from AbstractObjectFactory) Ensures, that the given name is prefixed with FactoryObjectPrefix if it incidentially already starts with this prefix. This avoids troubles when dereferencing the object name during TransformedObjectName
PopulateObject Populate the object instance in the given IObjectWrapper with the property values from the object definition.
PostProcessObjectFromFactoryObject Applies the
PostProcessAfterInitialization
callback of all registered IObjectPostProcessors, giving them a chance to post-process the object obtained from IFactoryObjects (for example, to auto-proxy them)
PredictObjectType Predict the eventual object type (of the processed object instance) for the specified object.
RemoveEagerlyCachedSingleton Remove the specified singleton from the singleton cache that has been added before by a call to AddEagerlyCachedSingleton
RemoveSingleton (inherited from AbstractObjectFactory) Remove the object identified by the supplied name from this factory's singleton cache.
ResolveObjectType (inherited from AbstractObjectFactory) Resolves the type of the object for the specified object definition resolving an object type name to a Type (if necessary) and storing the resolved Type in the object definition for further use.
ResolveReference Resolve a reference to another object in the factory.
TransformedObjectName (inherited from AbstractObjectFactory) Return the object name, stripping out the factory dereference prefix if necessary, and resolving aliases to canonical names.
UnsatisfiedNonSimpleProperties Return an array of object-type property names that are unsatisfied.
WireEvents Wires up any exposed events in the object instance in the given IObjectWrapper with any event handler values from the definition.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace