Package com.sun.xml.ws.tx.dev
Class WSATRuntimeConfig
java.lang.Object
com.sun.xml.ws.tx.dev.WSATRuntimeConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfacestatic interfacestatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the current domain name as provided by the containerReturn Protocol, host, and port Stringstatic StringReturns the current instance/host name as provided by the containerstatic intReturns the current HTTP name as used by the containerstatic intthe current HTTPS name as used by the containerstatic WSATRuntimeConfigReturn the underlying transaction log locationbooleanbooleanIs WS-AT recovery and therefore WS-AT transaction logging enabledvoidsetWSATRecoveryEventListener(WSATRuntimeConfig.RecoveryEventListener WSATRecoveryEventListener)
-
Method Details
-
initializer
-
getInstance
-
isWSATRecoveryEnabled
public boolean isWSATRecoveryEnabled()Is WS-AT recovery and therefore WS-AT transaction logging enabled -
getHostAndPort
Return Protocol, host, and port String- Returns:
- for example "https://localhost:8181/"
-
getDomainName
Returns the current domain name as provided by the container- Returns:
- the current domain name as provided by the container
-
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
Return the underlying transaction log location- Returns:
- String directory
-
isRollbackOnFailedPrepare
public boolean isRollbackOnFailedPrepare() -
setWSATRecoveryEventListener
public void setWSATRecoveryEventListener(WSATRuntimeConfig.RecoveryEventListener WSATRecoveryEventListener)
-