public class TerminationParticipantProcessor extends BaseNotificationProcessor
BaseProcessor.CallbackExecutor, BaseProcessor.CallbackExecutorAdapter
Constructor and Description |
---|
TerminationParticipantProcessor() |
Modifier and Type | Method and Description |
---|---|
static TerminationParticipantProcessor |
getProcessor()
Get the processor singleton.
|
void |
handleCancelled(NotificationType cancelled,
MAP map,
ArjunaContext arjunaContext)
Handle a cancelled response.
|
void |
handleClosed(NotificationType closed,
MAP map,
ArjunaContext arjunaContext)
Handle a closed response.
|
void |
handleCompleted(NotificationType completed,
MAP map,
ArjunaContext arjunaContext)
Handle a completed response.
|
void |
handleFaulted(NotificationType faulted,
MAP map,
ArjunaContext arjunaContext)
Handle a faulted response.
|
void |
handleSoapFault(SoapFault soapFault,
MAP map,
ArjunaContext arjunaContext)
Handle a SOAP fault response.
|
void |
registerCallback(String instanceIdentifier,
TerminationParticipantCallback callback)
Register a callback for the specific instance identifier.
|
getIDs
handleCallbacks, register, removeCallback
public static TerminationParticipantProcessor getProcessor()
public void handleCancelled(NotificationType cancelled, MAP map, ArjunaContext arjunaContext)
cancelled
- The cancelled notification.map
- The addressing context.arjunaContext
- The arjuna context.public void handleClosed(NotificationType closed, MAP map, ArjunaContext arjunaContext)
closed
- The closed notification.map
- The addressing context.arjunaContext
- The arjuna context.public void handleCompleted(NotificationType completed, MAP map, ArjunaContext arjunaContext)
completed
- The completed notification.map
- The addressing context.arjunaContext
- The arjuna context.public void handleFaulted(NotificationType faulted, MAP map, ArjunaContext arjunaContext)
faulted
- The faulted notification.map
- The addressing context.arjunaContext
- The arjuna context.public void handleSoapFault(SoapFault soapFault, MAP map, ArjunaContext arjunaContext)
soapFault
- The SOAP fault.map
- The addressing context.arjunaContext
- The arjuna context.public void registerCallback(String instanceIdentifier, TerminationParticipantCallback callback)
instanceIdentifier
- The instance identifier.callback
- The callback for the response.Copyright © 2017 JBoss by Red Hat. All rights reserved.