Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebObjectFactory.RemoveEagerlyCachedSingleton Method

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

[Visual Basic]
Protected Overrides Sub RemoveEagerlyCachedSingleton( _
   ByVal objectName As String, _
   ByVal objectDefinition As IObjectDefinition _
)
[C#]
protected override 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

WebObjectFactory Class | Spring.Objects.Factory.Support Namespace