Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IConfigurableApplicationContext Interface

Provides the means to configure an application context in addition to the methods exposed on the IApplicationContext interface.

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

[Visual Basic]
Public Interface IConfigurableApplicationContext
    Implements IApplicationContext, IListableObjectFactory, IObjectFactory, IDisposable, IHierarchicalObjectFactory, IMessageSource, IApplicationEventPublisher, IResourceLoader, IEventRegistry, ILifecycle
[C#]
public interface IConfigurableApplicationContext : IApplicationContext, IListableObjectFactory, IObjectFactory, IDisposable, IHierarchicalObjectFactory, IMessageSource, IApplicationEventPublisher, IResourceLoader, IEventRegistry, ILifecycle

Types that implement IConfigurableApplicationContext

Type Description
AbstractApplicationContext Partial implementation of the IApplicationContext interface.
AbstractXmlApplicationContext Convenient abstract superclass for IApplicationContext implementations that draw their configuration from XML documents containing object definitions as understood by an XmlObjectDefinitionReader.
GenericApplicationContext Generic ApplicationContext implementation that holds a single internal DefaultListableObjectFactory instance and does not assume a specific object definition format.
StaticApplicationContext IApplicationContext that allows concrete registration of objects and messages in code, rather than from external configuration sources.
WebApplicationContext Web application context, taking the context definition files from the file system or from URLs. Treats resource paths as web resources, when using IApplicationContext.GetResource. Resource paths are considered relative to the virtual directory. Note: In case of multiple config locations, later object definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain object definitions via an extra XML file.
XmlApplicationContext An IApplicationContext implementation that reads context definitions from XML based resources.

Remarks

This interface is to be implemented by most (if not all) IApplicationContext implementations.

Configuration and lifecycle methods are encapsulated here to avoid making them obvious to IApplicationContext client code.

Calling Dispose will close this application context, releasing all resources and locks that the implementation might hold. This includes disposing all cached singleton objects.

CAUTION   Dispose does not invoke the attendant Dispose on any parent context.

Requirements

Namespace: Spring.Context

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

See Also

IConfigurableApplicationContext Members | Spring.Context Namespace | IDisposable | IApplicationContext