Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.PostProcessObjectFromFactoryObject Method

Applies the

PostProcessAfterInitialization
callback of all registered IObjectPostProcessors, giving them a chance to post-process the object obtained from IFactoryObjects (for example, to auto-proxy them)

[Visual Basic]
Protected Overrides Sub PostProcessObjectFromFactoryObject( _
   ByVal instance As Object, _
   ByVal objectName As String _
)
[C#]
protected override object PostProcessObjectFromFactoryObject(
   object instance,
   string objectName
);

Parameters

instance
The instance obtained from the IFactoryObject.
objectName
Name of the object.

Return Value

The object instance to expose

Exceptions

Exception Type Condition
ObjectsException if any post-processing failed.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace