Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectPostProcessor.PostProcessBeforeInitialization Method

Apply this IObjectPostProcessor to the given new object instance before any object initialization callbacks.

[Visual Basic]
Public Sub PostProcessBeforeInitialization( _
   ByVal instance As Object, _
   ByVal name As String _
)
[C#]
object PostProcessBeforeInitialization(
   object instance,
   string name
);

Parameters

instance
The new object instance.
name
The name of the object.

Return Value

The object instance to use, either the original or a wrapped one.

Remarks

The object will already be populated with property values. The returned object instance may be a wrapper around the original.

Exceptions

Exception Type Condition
ObjectsException In case of errors.

See Also

IObjectPostProcessor Interface | Spring.Objects.Factory.Config Namespace