ApplicationEvent

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 @author Juergen Hoeller

abstract
class ApplicationEvent : EventObject {}

Constructors

this
this(Object source)

Create a new ApplicationEvent. @param source the object on which the event initially occurred (never {@code null})

Members

Functions

getTimestamp
long getTimestamp()

Return the system time in milliseconds when the event happened.

Inherited Members

From EventObject

source
Object source;

The object on which the Event initially occurred.

getSource
Object getSource()

The object on which the Event initially occurred.

toString
string toString()

Returns a string representation of this EventObject.

Meta