Package com.sun.xml.ws.tx.dev
Class WSATRuntimeConfig
- java.lang.Object
-
- com.sun.xml.ws.tx.dev.WSATRuntimeConfig
-
public final class WSATRuntimeConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWSATRuntimeConfig.Initializerstatic interfaceWSATRuntimeConfig.RecoveryEventListenerstatic interfaceWSATRuntimeConfig.TxlogLocationProviderclassWSATRuntimeConfig.WSATRecoveryEventListener
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetDomainName()Returns the current domain name as provided by the containerStringgetHostAndPort()Return Protocol, host, and port Stringstatic StringgetHostName()Returns the current instance/host name as provided by the containerstatic intgetHttpPort()Returns the current HTTP name as used by the containerstatic intgetHttpsPort()the current HTTPS name as used by the containerstatic WSATRuntimeConfiggetInstance()StringgetTxLogLocation()Return the underlying transaction log locationstatic WSATRuntimeConfig.Initializerinitializer()booleanisRollbackOnFailedPrepare()booleanisWSATRecoveryEnabled()Is WS-AT recovery and therefore WS-AT transaction logging enabledvoidsetWSATRecoveryEventListener(WSATRuntimeConfig.RecoveryEventListener WSATRecoveryEventListener)
-
-
-
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)
-
-