|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
org.springframework.context.ApplicationEvent
public abstract class ApplicationEvent
Class to be extended by all application events. Abstract as it doesn't make sense for generic events to be published directly.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ApplicationEvent(java.lang.Object source)
Create a new ApplicationEvent. |
|
| Method Summary | |
|---|---|
long |
getTimestamp()
Return the system time in milliseconds when the event happened. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationEvent(java.lang.Object source)
source - the component that published the event (never null)| Method Detail |
|---|
public final long getTimestamp()
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||