DbProviderFactoryObject.GetObject Method
Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DbProviderFactoryObject.GetObject Method

Return an instance of and IDbProvider as configured by this factory managed by this factory.

[Visual Basic]
Public NotOverridable Sub GetObject() _
    Implements IFactoryObject.GetObject
public object GetObject();

Return Value

The same (singleton) instance of the IDbProvider managed by this factory.




CAUTION    If this method is being called in the context of an enclosing IoC container and returns a null reference (Nothing in Visual Basic), the IoC container will consider this factory object as not being fully initialized and throw a corresponding (and most probably fatal) exception.

See Also

DbProviderFactoryObject Class | Spring.Data.Common Namespace