Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.PredictObjectType Method

Predict the eventual object type (of the processed object instance) for the specified object.

[Visual Basic]
Protected Overrides Sub PredictObjectType( _
   ByVal objectName As String, _
   ByVal mod As RootObjectDefinition _
)
[C#]
protected override Type PredictObjectType(
   string objectName,
   RootObjectDefinition mod
);

Parameters

objectName
Name of the object.
mod
The merged object definition to determine the type for.

Return Value

The type of the object, or

null
if not predictable

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace