Class WSATRuntimeConfig

java.lang.Object
com.sun.xml.ws.tx.dev.WSATRuntimeConfig

public final class WSATRuntimeConfig extends Object
  • Method Details

    • initializer

      public static WSATRuntimeConfig.Initializer initializer()
    • getInstance

      public static WSATRuntimeConfig getInstance()
    • isWSATRecoveryEnabled

      public boolean isWSATRecoveryEnabled()
      Is WS-AT recovery and therefore WS-AT transaction logging enabled
    • getHostAndPort

      public String getHostAndPort()
      Return Protocol, host, and port String
      Returns:
      for example "https://localhost:8181/"
    • getDomainName

      public static String getDomainName()
      Returns the current domain name as provided by the container
      Returns:
      the current domain name as provided by the container
    • getHostName

      public static String getHostName()
      Returns the current instance/host name as provided by the container
      Returns:
      container the current instance/host name as provided by the container
    • getHttpPort

      public static int getHttpPort()
      Returns the current HTTP name as used by the container
      Returns:
      the current HTTP name as used by the container
    • getHttpsPort

      public static int getHttpsPort()
      the current HTTPS name as used by the container
      Returns:
      the current HTTPS name as used by the container
    • getTxLogLocation

      public String getTxLogLocation()
      Return the underlying transaction log location
      Returns:
      String directory
    • isRollbackOnFailedPrepare

      public boolean isRollbackOnFailedPrepare()
    • setWSATRecoveryEventListener

      public void setWSATRecoveryEventListener(WSATRuntimeConfig.RecoveryEventListener WSATRecoveryEventListener)