当前页面:
在线文档首页 >
Spring Framework 1.2.9 API 文档英文版
ApplicationEvent (Spring Framework) - Spring Framework 1.2.9 API 文档英文版
org.springframework.context
Class ApplicationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ContextClosedEvent, ContextRefreshedEvent, RequestHandledEvent
public abstract class ApplicationEvent
- extends EventObject
Class to be extended by all application events.
Abstract as it doesn't make sense for generic events
to be published directly.
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Method Summary |
long |
getTimestamp()
Return the system time in milliseconds when the event happened. |
ApplicationEvent
public ApplicationEvent(Object source)
- Create a new ApplicationEvent.
- Parameters:
source
- the component that published the event
getTimestamp
public long getTimestamp()
- Return the system time in milliseconds when the event happened.
Copyright (c) 2002-2007 The Spring Framework Project.