Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AdvisorAdapterRegistrationManager.PostProcessAfterInitialization Method

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

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

Parameters

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

Return Value

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

Implements

IObjectPostProcessor.PostProcessAfterInitialization

Remarks

Registers the supplied instance with the GlobalAdvisorAdapterRegistry singleton if it is an IAdvisorAdapter instance.

Exceptions

Exception Type Condition
ObjectsException In case of errors.

See Also

AdvisorAdapterRegistrationManager Class | Spring.Aop.Framework.Adapter Namespace