Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebServiceExporter.GetObject Method

Return an instance (possibly shared or independent) of the object managed by this factory.

[Visual Basic]
Public Overridable Sub GetObject() _
    Implements IFactoryObject.GetObject
[C#]
public virtual object GetObject();

Return Value

An instance (possibly shared or independent) of the object managed by this factory.

Implements

IFactoryObject.GetObject

Remarks

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

WebServiceExporter Class | Spring.Web.Services Namespace