Spring Integration

org.springframework.integration.event
Class IntegrationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by 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 ApplicationEvents 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IntegrationEvent(java.lang.Object source)
           
IntegrationEvent(java.lang.Object source, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 java.lang.String toString()
           
 
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
 

Constructor Detail

IntegrationEvent

public IntegrationEvent(java.lang.Object source)

IntegrationEvent

public IntegrationEvent(java.lang.Object source,
                        java.lang.Throwable cause)
Method Detail

getCause

public java.lang.Throwable getCause()

toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject

Spring Integration