Class AbstractJTAOverWSATHandler<C extends jakarta.xml.ws.handler.MessageContext>
java.lang.Object
org.jboss.jbossts.txbridge.outbound.AbstractJTAOverWSATHandler<C>
- All Implemented Interfaces:
jakarta.xml.ws.handler.Handler<C>
- Direct Known Subclasses:
DisabledJTAOverWSATHandler
,EnabledJTAOverWSATHandler
public abstract class AbstractJTAOverWSATHandler<C extends jakarta.xml.ws.handler.MessageContext>
extends Object
implements jakarta.xml.ws.handler.Handler<C>
- Author:
- Gytis Trikleris
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(jakarta.xml.ws.handler.MessageContext context) Delegates to the JaxWSTxOutboundBridgeHandler.boolean
handleFault
(C context) Delegates fault handling to the JaxWSTxOutboundBridgeHandler if either JTAOverWSATFeature or default context propagation is enabled.boolean
handleMessage
(C context) Delegates message handling to the JaxWSTxOutboundBridgeHandler if either JTAOverWSATFeature or default context propagation is enabled.protected abstract boolean
isContextPropagationEnabled
(C context) Checks if JTAOverWSATHandler should propagate JTA context over WS-AT.
-
Constructor Details
-
AbstractJTAOverWSATHandler
public AbstractJTAOverWSATHandler()
-
-
Method Details
-
handleMessage
Delegates message handling to the JaxWSTxOutboundBridgeHandler if either JTAOverWSATFeature or default context propagation is enabled.- Specified by:
handleMessage
in interfacejakarta.xml.ws.handler.Handler<C extends jakarta.xml.ws.handler.MessageContext>
- Parameters:
context
-- Returns:
- true on success, false on error
- See Also:
-
handleFault
Delegates fault handling to the JaxWSTxOutboundBridgeHandler if either JTAOverWSATFeature or default context propagation is enabled.- Specified by:
handleFault
in interfacejakarta.xml.ws.handler.Handler<C extends jakarta.xml.ws.handler.MessageContext>
- Parameters:
context
-- Returns:
- true on success, false on error
- See Also:
-
close
public void close(jakarta.xml.ws.handler.MessageContext context) Delegates to the JaxWSTxOutboundBridgeHandler.- Specified by:
close
in interfacejakarta.xml.ws.handler.Handler<C extends jakarta.xml.ws.handler.MessageContext>
- Parameters:
context
-- See Also:
-
isContextPropagationEnabled
Checks if JTAOverWSATHandler should propagate JTA context over WS-AT.- Parameters:
context
-- Returns:
- true|false
-