com.arjuna.ats.jdbc.common
Class JDBCEnvironmentBean

java.lang.Object
  extended by com.arjuna.ats.jdbc.common.JDBCEnvironmentBean
All Implemented Interfaces:
JDBCEnvironmentBeanMBean

public class JDBCEnvironmentBean
extends java.lang.Object
implements JDBCEnvironmentBeanMBean

A JavaBean containing configuration properties for the JDBC subsystem.

Author:
Jonathan Halliday (jonathan.halliday@redhat.com)

Constructor Summary
JDBCEnvironmentBean()
           
 
Method Summary
 int getIsolationLevel()
          Returns the default isolation level for tansactional database operations.
 java.lang.String getPropertiesFile()
          Returns the name of the properties file.
 void setIsolationLevel(int isolationLevel)
          Sets the default transaction isolation level for database operations.
 void setPropertiesFile(java.lang.String propertiesFile)
          Sets the name of the properties file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCEnvironmentBean

public JDBCEnvironmentBean()
Method Detail

getPropertiesFile

public java.lang.String getPropertiesFile()
Returns the name of the properties file. Default: "" Equivalent deprecated property: com.arjuna.ats.jdbc.common.propertiesFile

Specified by:
getPropertiesFile in interface JDBCEnvironmentBeanMBean
Returns:
the name of the properties file

setPropertiesFile

public void setPropertiesFile(java.lang.String propertiesFile)
Sets the name of the properties file.

Specified by:
setPropertiesFile in interface JDBCEnvironmentBeanMBean
Parameters:
propertiesFile - the name of the properties file.

getIsolationLevel

public int getIsolationLevel()
Returns the default isolation level for tansactional database operations. Default: Connection.TRANSACTION_SERIALIZABLE Equivalent deprecated property: com.arjuna.ats.jdbc.isolationLevel"

Specified by:
getIsolationLevel in interface JDBCEnvironmentBeanMBean
Returns:
the default connection isolation level.

setIsolationLevel

public void setIsolationLevel(int isolationLevel)
Sets the default transaction isolation level for database operations.

Specified by:
setIsolationLevel in interface JDBCEnvironmentBeanMBean
Parameters:
isolationLevel - the default connection isolation level.