com.sun.xml.ws.tx.dev
Class WSATRuntimeConfig

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

public final class WSATRuntimeConfig
extends Object


Nested Class Summary
static class WSATRuntimeConfig.Initializer
           
static interface WSATRuntimeConfig.RecoveryEventListener
           
static interface WSATRuntimeConfig.TxlogLocationProvider
           
 class WSATRuntimeConfig.WSATRecoveryEventListener
           
 
Method Summary
static String getDomainName()
          Returns the current domain name as provided by the container
 String getHostAndPort()
          Return Protocol, host, and port String
static String getHostName()
          Returns the current instance/host name as provided by the container
static int getHttpPort()
          Returns the current HTTP name as used by the container
static int getHttpsPort()
          the current HTTPS name as used by the container
static WSATRuntimeConfig getInstance()
           
 String getTxLogLocation()
          Return the underlying transaction log location
static WSATRuntimeConfig.Initializer initializer()
           
 boolean isRollbackOnFailedPrepare()
           
 boolean isWSATRecoveryEnabled()
          Is WS-AT recovery and therefore WS-AT transaction logging enabled
 void setWSATRecoveryEventListener(WSATRuntimeConfig.RecoveryEventListener WSATRecoveryEventListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Returns:

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)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.