com.cyclonecommerce.cybervan.api
Class DocumentArrivalEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.cyclonecommerce.cybervan.api.DocumentArrivalEvent
All Implemented Interfaces:
java.io.Serializable

public class DocumentArrivalEvent
extends java.util.EventObject

Event generated by InterchangeServer when an inbound document has arrived and is ready for client processing

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DocumentArrivalEvent(java.lang.Object integrationDocument)
          Create a new document arrival event.
 
Method Summary
 IntegrationDocument getDocument()
          Returns the arriving document
 
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

DocumentArrivalEvent

public DocumentArrivalEvent(java.lang.Object integrationDocument)
Create a new document arrival event. Intended for Interchange Server use only.
Parameters:
integrationDocument - The inbound document
Method Detail

getDocument

public IntegrationDocument getDocument()
Returns the arriving document
Returns:
A IntegrationDocument initialized withe the metadata describing the received document.