Interface WsRejectionHandlingStrategy
-
- All Known Implementing Classes:
AbstractWsRejectionHandlingStrategy
public interface WsRejectionHandlingStrategyRejection handling strategy for WS transactions.- Author:
- Dmytro Rud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleRejectedExchange(org.apache.cxf.message.Exchange cxfExchange)This method will be called when the request has been rejected by CXF (in this case, the CXF exchange will contain a SOAP fault) or by IPF (transaction-specific logic).booleanisRejected(org.apache.cxf.message.Exchange cxfExchange)This method should returntruewhen the given CXF exchange can be considered rejected (failed).
-
-
-
Method Detail
-
handleRejectedExchange
void handleRejectedExchange(org.apache.cxf.message.Exchange cxfExchange)
This method will be called when the request has been rejected by CXF (in this case, the CXF exchange will contain a SOAP fault) or by IPF (transaction-specific logic).- Parameters:
cxfExchange- CXF exchange containing multiple representations of the request message and the whole context information.
-
isRejected
boolean isRejected(org.apache.cxf.message.Exchange cxfExchange)
This method should returntruewhen the given CXF exchange can be considered rejected (failed).- Parameters:
cxfExchange- CXF exchange under consideration.- Returns:
truewhen the given CXF exchange has been rejected;falseotherwise.- See Also:
SoapUtils.extractOutgoingException(org.apache.cxf.message.Exchange)
-
-