Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.ApplyObjectPostProcessorsBeforeInitialization Method

Apply IObjectPostProcessors to the given existing object instance, invoking their PostProcessBeforeInitialization methods.

[Visual Basic]
Public Overridable Sub ApplyObjectPostProcessorsBeforeInitialization( _
   ByVal instance As Object, _
   ByVal name As String _
) _
    Implements IAutowireCapableObjectFactory.ApplyObjectPostProcessorsBeforeInitialization
[C#]
public virtual object ApplyObjectPostProcessorsBeforeInitialization(
   object instance,
   string name
);

Parameters

instance
The existing object instance.
name
The name of the object.

Return Value

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

Implements

IAutowireCapableObjectFactory.ApplyObjectPostProcessorsBeforeInitialization

Exceptions

Exception Type Condition
ObjectsException If any post-processing failed.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace | PostProcessBeforeInitialization