Builds on the feature set provided by the Spring.Objects namespace to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources.
There is no necessity for Spring.NET applications explicitly to depend on the functionality provided by either of the IApplicationContext or IObjectFactory interfaces. One of the strengths of the Spring.NET architecture is that application objects can almost always be configured without any dependency on Spring.NET-specific APIs.
| Class | Description |
|---|---|
| ApplicationContextException | Exception thrown during application context initialization. |
| ApplicationEventArgs | Encapsulates the data associated with an event raised by an IApplicationContext. |
| EventListenerAttribute | Marks an interface as being an application event listener. |
| NoSuchMessageException | Thrown when a message cannot be resolved. |
| Interface | Description |
|---|---|
| IApplicationContext | The central interface to Spring.NET's IoC container. |
| IApplicationContextAware | To be implemented by any object that wishes to be notified of the IApplicationContext that it runs in. |
| IApplicationEventListener | A listener for application events. |
| IApplicationEventPublisher | Encapsulates event publication functionality. |
| IConfigurableApplicationContext | Provides the means to configure an application context in addition to the methods exposed on the IApplicationContext interface. |
| IHierarchicalMessageSource | Sub-interface of IMessageSource to be implemented by objects that can resolve messages hierarchically. |
| IMessageSource | Describes an object that can resolve messages. |
| IMessageSourceAware | To be implemented by any object that wishes to be notified of the IMessageSource associated with it. |
| IMessageSourceResolvable | Describes objects that are suitable for message resolution in a IMessageSource. |
| IResourceLoaderAware | Interface to be implemented by any object that wishes to be notified of the IResourceLoader (typically the IApplicationContext) that it runs in. |
| Delegate | Description |
|---|---|
| ApplicationEventHandler | The callback for application events. |