站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

ApplicationEventPublisher (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.context
Interface ApplicationEventPublisher

All Known Subinterfaces:
ApplicationContext, ConfigurableApplicationContext, ConfigurablePortletApplicationContext, ConfigurableWebApplicationContext, WebApplicationContext
All Known Implementing Classes:
AbstractApplicationContext, AbstractRefreshableApplicationContext, AbstractRefreshablePortletApplicationContext, AbstractRefreshableWebApplicationContext, AbstractXmlApplicationContext, ClassPathXmlApplicationContext, FileSystemXmlApplicationContext, GenericApplicationContext, GenericWebApplicationContext, ResourceAdapterApplicationContext, StaticApplicationContext, StaticPortletApplicationContext, StaticWebApplicationContext, XmlPortletApplicationContext, XmlWebApplicationContext

public interface ApplicationEventPublisher

Interface that encapsulates event publication functionality. Serves as super-interface for ApplicationContext.

Since:
1.1.1
Author:
Juergen Hoeller
See Also:
ApplicationContext, ApplicationEventPublisherAware, ApplicationEvent, EventPublicationInterceptor

Method Summary
 void publishEvent(ApplicationEvent event)
          Notify all listeners registered with this application of an application event.
 

Method Detail

publishEvent

void publishEvent(ApplicationEvent event)
Notify all listeners registered with this application of an application event. Events may be framework events (such as RequestHandledEvent) or application-specific events.

Parameters:
event - the event to publish
See Also:
RequestHandledEvent

The Spring Framework

Copyright © 2002-2007 The Spring Framework.