public interface IStoreBindingFailedEvent extends IStoreLifecycleEvent, IStoreAlertEvent
A store binding dispatches this event to indicates that it has 'failed'. A binding 'failure' is, essentially, a binding closure triggered implicitly by a binding on the occurrence of certain events that the binding deems fatal enough that it cannot continue operations. On a failure, a binding performs all closure operations, transitions to the failed state and then dispatches this event to the user. Although it is permissible to do, it is not necessary to close a binding on a failure (since it is already implicitly closed). Note that, if the user does choose to close the binding on subsequent to a failure, the close should not be invoked from within the binding event handler. Doing so may cause a deadlock.
Modifier and Type | Method and Description |
---|---|
Exception |
getCause()
Get the reason why the binding failed.
|
getBackingMessage, getEventTime, setBackingMessage
getSource
getBackingMessage, getEventTime, getTriggeringMessage, setBackingMessage
acquire, dispose, getAcknowledger, getAttachment, getDelay, getDispatchTime, getInstanceNumber, getRemainingTime, getScheduledTime, getType, isEndOfBatch, isHandled, owners, setAcknowledger, setAttachment, setDelay, setEndOfBatch, setHandled, setSource
referenceTracker
Exception getCause()
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.