Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.RemoveEagerlyCachedSingleton Method

Remove the specified singleton from the singleton cache that has been added before by a call to AddEagerlyCachedSingleton

[Visual Basic]
Protected Overridable Sub RemoveEagerlyCachedSingleton( _
   ByVal objectName As String, _
   ByVal objectDefinition As IObjectDefinition _
)
[C#]
protected virtual void RemoveEagerlyCachedSingleton(
   string objectName,
   IObjectDefinition objectDefinition
);

Parameters

objectName
the name of the object to remove from the cache.
objectDefinition
the definition used to create and populated the object.

Remarks

Derived classes may override this method to select the right cache based on the object definition.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace