See Also

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

Requirements

Namespace: Spring.Context.Support

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

Language

Visual Basic

C#

Show All

See Also Requirements Languages Spring.Core Send comments on this topic.

AbstractApplicationContext Class

Spring.Context.Support Namespace : AbstractApplicationContext Class

Partial implementation of the IApplicationContext interface.

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

Object Model






Inheritance Hierarchy

System.Object
   Spring.Core.IO.ConfigurableResourceLoader
      Spring.Context.Support.AbstractApplicationContext
         Spring.Context.Support.StaticApplicationContext
         Spring.Context.Support.AbstractXmlApplicationContext

Syntax

[Visual Basic]
<DefaultMemberAttribute("Item")> Public MustInherit Class AbstractApplicationContext    Inherits ConfigurableResourceLoader    Implements IApplicationContextIApplicationEventPublisherIConfigurableApplicationContextIMessageSourceIResourceLoaderIEventRegistryIHierarchicalObjectFactoryIListableObjectFactoryIObjectFactory 
[C#]
[DefaultMemberAttribute("Item")] public abstract class AbstractApplicationContext : ConfigurableResourceLoader, IApplicationContextIApplicationEventPublisherIConfigurableApplicationContextIMessageSourceIResourceLoaderIEventRegistryIHierarchicalObjectFactoryIListableObjectFactoryIObjectFactory 

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

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

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

See Also

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

 

 


© 2004-2006 Spring.NET Authors. All Rights Reserved.