Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractObjectFactory.RemoveSingleton Method

Remove the object identified by the supplied name from this factory's singleton cache.

[Visual Basic]
Protected Sub RemoveSingleton( _
   ByVal name As String _
protected void RemoveSingleton(
   string name


The name of the object that is to be removed from the singleton cache.


Exception Type Condition
ArgumentNullException If the name argument is a null reference (Nothing in Visual Basic) or consists wholly of whitespace characters.

See Also

AbstractObjectFactory Class | Spring.Objects.Factory.Support Namespace