org.jboss.wst.xts.common
Class Configuration

java.lang.Object
  extended by org.jboss.wst.xts.common.Configuration

public class Configuration
extends java.lang.Object

Author:
wklaczynski@sabaservice.pl, 2007-04-30

Field Summary
private static java.lang.String _propFile
           
private static java.lang.String _transType
           
private static java.lang.String default_transType
           
private static java.util.Properties PROPS
           
 
Constructor Summary
Configuration()
           
 
Method Summary
static java.lang.String getBuildTimeProperty(java.lang.String name)
          Getting the value contained in the configuration file xts.properties
static java.lang.String propertiesFile()
          Get properties file name from arjuna.properties
static java.lang.String transactionType()
          Getting the type of transaction is installed on the server JBoss
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPS

private static final java.util.Properties PROPS

_propFile

private static java.lang.String _propFile

default_transType

private static java.lang.String default_transType

_transType

private static java.lang.String _transType
Constructor Detail

Configuration

public Configuration()
Method Detail

propertiesFile

public static final java.lang.String propertiesFile()
Get properties file name from arjuna.properties

Returns:
properties file name

transactionType

public static final java.lang.String transactionType()
Getting the type of transaction is installed on the server JBoss

Returns:
transaction type (JTA or JTS)

getBuildTimeProperty

public static java.lang.String getBuildTimeProperty(java.lang.String name)
Getting the value contained in the configuration file xts.properties

Parameters:
name -
Returns:
property from name