org.springframework.integration.event
Class IntegrationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.event.IntegrationEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FileIntegrationEvent, IpIntegrationEvent, MailIntegrationEvent
public abstract class IntegrationEvent
- extends org.springframework.context.ApplicationEvent
Base class for all ApplicationEvent
s generated by the framework.
Contains an optional cause field; a separate Exception event hierarchy
is not possible because of Java single inheritance (modules should make
all their events subclasses of 'xxxIntegrationEvent').
- Since:
- 3.0
- Author:
- Gary Russell
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IntegrationEvent
public IntegrationEvent(java.lang.Object source)
IntegrationEvent
public IntegrationEvent(java.lang.Object source,
java.lang.Throwable cause)
getCause
public java.lang.Throwable getCause()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject