Interface Hl7v2WsInteractionId
- All Superinterfaces:
Hl7v2InteractionId, InteractionId, WsInteractionId
- All Known Implementing Classes:
PCD.Interactions
- Since:
- 3.2
- Author:
- Christian Ohr
-
Method Summary
Modifier and TypeMethodDescriptiondefault TransactionConfigurationTransactions of this kind are the only ones with two transaction configurations, an HL7v2 one for the message semantics and a Web Service one for the transport, so both parent interfaces offer a way to answer this and the ambiguity has to be resolved explicitly.Methods inherited from interface Hl7v2InteractionId
getHl7v2TransactionConfiguration, getNakFactory, initMethods inherited from interface WsInteractionId
getWsTransactionConfiguration
-
Method Details
-
getTransactionConfiguration
Transactions of this kind are the only ones with two transaction configurations, an HL7v2 one for the message semantics and a Web Service one for the transport, so both parent interfaces offer a way to answer this and the ambiguity has to be resolved explicitly. The Web Service configuration is returned because it is the one describing the endpoint, which is what generic callers such as telemetry are after; the HL7v2 configuration remains available throughHl7v2InteractionId.getHl7v2TransactionConfiguration().- Specified by:
getTransactionConfigurationin interfaceHl7v2InteractionId- Specified by:
getTransactionConfigurationin interfaceInteractionId- Specified by:
getTransactionConfigurationin interfaceWsInteractionId- Returns:
- the transaction configuration
-