public abstract class

ApplicationEvent

extends EventObject
java.lang.Object
   ↳ java.util.EventObject
     ↳ org.springframework.context.ApplicationEvent
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Class to be extended by all application events. Abstract as it doesn't make sense for generic events to be published directly.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
ApplicationEvent(Object source)
Create a new ApplicationEvent.
Public Methods
final long getTimestamp()
Return the system time in milliseconds when the event happened.
[Expand]
Inherited Methods
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public ApplicationEvent (Object source)

Create a new ApplicationEvent.

Parameters
source the component that published the event (never null)

Public Methods

public final long getTimestamp ()

Return the system time in milliseconds when the event happened.