Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractApplicationContext Class

Partial implementation of the IApplicationContext interface.

For a list of all members of this type, see AbstractApplicationContext Members .

System.Object
   ConfigurableResourceLoader
      AbstractApplicationContext
         AbstractXmlApplicationContext
         GenericApplicationContext

[Visual Basic]
<DefaultMember(MemberName:="Item")> _
Public MustInherit Class AbstractApplicationContext
    Inherits ConfigurableResourceLoader
    Implements IConfigurableApplicationContext, IApplicationContext, IListableObjectFactory, IObjectFactory, IDisposable, IHierarchicalObjectFactory, IMessageSource, IApplicationEventPublisher, IEventRegistry, ILifecycle, IObjectDefinitionRegistry
[C#]
[DefaultMember(MemberName="Item")]
public abstract class AbstractApplicationContext : ConfigurableResourceLoader, IConfigurableApplicationContext, IApplicationContext, IListableObjectFactory, IObjectFactory, IDisposable, IHierarchicalObjectFactory, IMessageSource, IApplicationEventPublisher, IEventRegistry, ILifecycle, IObjectDefinitionRegistry

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Does not mandate the type of storage used for configuration, but does implement common functionality. Uses the Template Method design pattern, requiring concrete subclasses to implement abstract (MustInherit in Visual Basic) methods.

In contrast to a plain vanilla IObjectFactory, an IApplicationContext is supposed to detect special objects defined in its object factory: therefore, this class automatically registers IObjectFactoryPostProcessors, IObjectPostProcessors and IApplicationEventListeners that are defined as objects in the context.

An IMessageSource may be also supplied as an object in the context, with the special, well-known-name of "messageSource". Else, message resolution is delegated to the parent context.

Requirements

Namespace: Spring.Context.Support

Assembly: Spring.Core (in Spring.Core.dll)

See Also

AbstractApplicationContext Members | Spring.Context.Support Namespace | IObjectPostProcessor | IObjectFactoryPostProcessor