|Visual Basic (Declaration)|
Public Interface IApplicationContext Inherits IApplicationEventPublisher, IMessageSource, IResourceLoader, IEventRegistry, IHierarchicalObjectFactory, IListableObjectFactory, IObjectFactory
|Visual Basic (Usage)||Copy Code|
IApplicationContext implementations provide:
Object factory functionality inherited from the Spring.Objects.Factory.IListableObjectFactory and Spring.Objects.Factory.IHierarchicalObjectFactory interfaces. The ability to resolve messages, supporting internationalization. Inherited from the IMessageSource interface. The ability to load file resources in a generic fashion. Inherited from the Spring.Core.IO.IResourceLoader interface. Acts an an event registry for supporting loosely coupled eventing between objecs. Inherited from the Spring.Objects.Events.IEventRegistry interface. The ability to raise events related to the context lifecycle. Inherited from the IApplicationEventPublisher interface. Inheritance from a parent context. Definitions in a descendant context will always take priority.
In addition to standard object factory lifecycle capabilities, IApplicationContext implementations need to detect IApplicationContextAware, Spring.Objects.Events.IEventRegistryAware, and IMessageSourceAware objects and supply their attendant dependencies accordingly.
This interface is the central client interface in Spring.NET's IoC container implementation. As such it does inherit a quite sizeable number of interfaces; implementations are strongly encouraged to use composition to satisfy each of the inherited interfaces (where appropriate of course).
Platforms:Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7
Assembly: Spring.Core (in Spring.Core.dll)