Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ApplicationObjectSupport.InitApplicationContext Method

Intializes the wrapped IApplicationContext.

[Visual Basic]
Protected Overridable Sub InitApplicationContext()
[C#]
protected virtual void InitApplicationContext();

Remarks

This is a template method that subclasses can override for custom initialization behavior.

Gets called by the ApplicationContext instance directly after setting the context instance.

CAUTION    Does not get called on reinitialization of the context.

Exceptions

Exception Type Condition
ApplicationContextException In the case of any initialization errors.
ObjectsException If thrown by application context methods.

See Also

ApplicationObjectSupport Class | Spring.Context.Support Namespace