Package com.interface21.context

This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.

See:
          Description

Interface Summary
ApplicationContext Interface to provide configuration for an application.
ApplicationContextAware Interface to be implemented by any object that wishes to be notified of the application context it runs in.
ApplicationEventMulticaster Subclass of ApplicationListener to be implemented by listeners that can broadcast events to other listeners.
ApplicationListener Interface to be implemented by event listeners.
MessageSource Interface to be implemented by objects that can resolve messages.
MessageSourceResolvable Interface for objects that are suitable for message resolution, e.g. validation errors.
NestingMessageSource Subinterface of MessageSource to be implemented by objects that can resolve messages hierarchically.
 

Class Summary
ApplicationEvent Class to be extended by all application events.
ContextOptions Base bean to hold minimum of application context configuration.
 

Exception Summary
ApplicationContextException Exception thrown during application context initialization.
NoSuchMessageException Exception thrown when a message can't be resolved
 

Package com.interface21.context Description

This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.

There is no necessity for Spring applications to depend on ApplicationContext or even BeanFactory functionality explicitly. One of the strengths of the Spring architecture is that application objects can often be configured without any dependency on Spring-specific APIs.



Rod Johnson and Spring contributors 2001-2003.