| Home >> All >> org >> springframework >> context >> [ event Javadoc ] |
org.springframework.context.event: Javadoc index of package org.springframework.context.event.
Package Samples:
org.springframework.context.event
Classes:
SimpleApplicationEventMulticaster: Simple implementation of the ApplicationEventMulticaster interface. Multicasts all events to all registered listeners. Doesn't permit multiple instances of the same listener, as it keeps listeners in a HashSet. Note that this class doesn't try to do anything clever to ensure thread safety if listeners are added or removed at runtime. A technique such as Copy-on-Write (Lea:137) could be used to ensure this, but the assumption in this version of this framework is that listeners will be added at application configuration time and not added or removed as the application runs. All listeners are invoked ...
EventPublicationInterceptor: Interceptor that knows how to publish ApplicationEvents to all ApplicationListeners registered with an ApplicationEventPublisher (typically an ApplicationContext). Note that this interceptor is only capable of publishing stateless events configured statically via the "applicationEventClass" property.
ConsoleListener: Simple listener for debug use only that logs messages to the console. Note: The ApplicationContext implementations included in the framework do quite heavy debug-level logging via Log4J, including published events. Thus, this listener isn't necessary for debug logging.
ApplicationEventMulticaster: Interface to be implemented by objects that can manage a number of ApplicationListeners, and publish events to them.
ContextRefreshedEvent: Event raised when an ApplicationContext gets initialized or refreshed.
ContextClosedEvent: Event raised when an ApplicationContext gets closed.
| Home | Contact Us | Privacy Policy | Terms of Service |