org.jboss.resource.adapter.jdbc.local
Class LocalTxDataSource
java.lang.Object
org.jboss.resource.adapter.jdbc.local.LocalTxDataSource
public class LocalTxDataSource
- extends Object
This is a pojo that instantiates a Local tx connection pool.
It provides same functionality as ds.xml files
- Version:
- $Revision: 1.11.4.2 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.jboss.logging.Logger log
initialContextProperties
protected Hashtable initialContextProperties
initialContext
protected InitialContext initialContext
LocalTxDataSource
public LocalTxDataSource()
setInitialContextProperties
public void setInitialContextProperties(Hashtable initialContextProperties)
start
public void start()
throws Exception
- Throws:
Exception
bindConnectionFactory
protected void bindConnectionFactory()
throws Exception
- Bind the connection factory into jndi
- Throws:
Exception
unbindConnectionFactory
protected void unbindConnectionFactory()
throws Exception
- Throws:
Exception
getDatasource
public Object getDatasource()
setCachedConnectionManager
public void setCachedConnectionManager(CachedConnectionManagerReference cachedConnectionManager)
getTransactionManager
public TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
getJndiName
public String getJndiName()
setJndiName
public void setJndiName(String jndiName)
getMinSize
public int getMinSize()
setMinSize
public void setMinSize(int minSize)
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int maxSize)
getBlockingTimeout
public int getBlockingTimeout()
setBlockingTimeout
public void setBlockingTimeout(int blockingTimeout)
getIdleTimeout
public long getIdleTimeout()
setIdleTimeout
public void setIdleTimeout(long idleTimeout)
getDriverClass
public String getDriverClass()
setDriverClass
public void setDriverClass(String driverClass)
getConnectionURL
public String getConnectionURL()
setConnectionURL
public void setConnectionURL(String connectionURL)
setUserName
public void setUserName(String userName)
setPassword
public void setPassword(String password)
setPreparedStatementCacheSize
public void setPreparedStatementCacheSize(int size)
getPreparedStatementCacheSize
public int getPreparedStatementCacheSize()
getSharePreparedStatements
public boolean getSharePreparedStatements()
setSharePreparedStatements
public void setSharePreparedStatements(boolean sharePS)
getTxQueryTimeout
public boolean getTxQueryTimeout()
setTxQueryTimeout
public void setTxQueryTimeout(boolean qt)
getTransactionIsolation
public String getTransactionIsolation()
setTransactionIsolation
public void setTransactionIsolation(String transactionIsolation)
getNewConnectionSQL
public String getNewConnectionSQL()
setNewConnectionSQL
public void setNewConnectionSQL(String newConnectionSQL)
getCheckValidConnectionSQL
public String getCheckValidConnectionSQL()
setCheckValidConnectionSQL
public void setCheckValidConnectionSQL(String checkValidConnectionSQL)
getTrackStatements
public String getTrackStatements()
setTrackStatements
public void setTrackStatements(String value)
getExceptionSorterClassName
public String getExceptionSorterClassName()
setExceptionSorterClassName
public void setExceptionSorterClassName(String exceptionSorterClassName)
getValidConnectionCheckerClassName
public String getValidConnectionCheckerClassName()
setValidConnectionCheckerClassName
public void setValidConnectionCheckerClassName(String value)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.