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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    Checks if JTAOverWSATHandler should propagate JTA context over WS-AT.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractJTAOverWSATHandler

      public AbstractJTAOverWSATHandler()
  • Method Details

    • handleMessage

      public boolean handleMessage(C context)
      Delegates message handling to the JaxWSTxOutboundBridgeHandler if either JTAOverWSATFeature or default context propagation is enabled.
      Specified by:
      handleMessage in interface jakarta.xml.ws.handler.Handler<C extends jakarta.xml.ws.handler.MessageContext>
      Parameters:
      context -
      Returns:
      true on success, false on error
      See Also:
    • handleFault

      public boolean handleFault(C context)
      Delegates fault handling to the JaxWSTxOutboundBridgeHandler if either JTAOverWSATFeature or default context propagation is enabled.
      Specified by:
      handleFault in interface jakarta.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 interface jakarta.xml.ws.handler.Handler<C extends jakarta.xml.ws.handler.MessageContext>
      Parameters:
      context -
      See Also:
    • isContextPropagationEnabled

      protected abstract boolean isContextPropagationEnabled(C context)
      Checks if JTAOverWSATHandler should propagate JTA context over WS-AT.
      Parameters:
      context -
      Returns:
      true|false