Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.resource.adapter » jdbc » local » [javadoc | source]
org.jboss.resource.adapter.jdbc.local
public class: LocalTxDataSource [javadoc | source]
java.lang.Object
   org.jboss.resource.adapter.jdbc.local.LocalTxDataSource
This is a pojo that instantiates a Local tx connection pool. It provides same functionality as ds.xml files
Nested Class Summary:
public class  LocalTxDataSource.ConnectionManagerDelegate   
Field Summary
protected static  Logger log     
protected  Hashtable initialContextProperties     
protected  InitialContext initialContext     
Constructor:
 public LocalTxDataSource() 
Method from org.jboss.resource.adapter.jdbc.local.LocalTxDataSource Summary:
bindConnectionFactory,   getBlockingTimeout,   getCheckValidConnectionSQL,   getConnectionURL,   getDatasource,   getDriverClass,   getExceptionSorterClassName,   getIdleTimeout,   getJndiName,   getMaxSize,   getMinSize,   getNewConnectionSQL,   getPreparedStatementCacheSize,   getSharePreparedStatements,   getTrackStatements,   getTransactionIsolation,   getTransactionManager,   getTxQueryTimeout,   getValidConnectionCheckerClassName,   setBlockingTimeout,   setCachedConnectionManager,   setCheckValidConnectionSQL,   setConnectionURL,   setDriverClass,   setExceptionSorterClassName,   setIdleTimeout,   setInitialContextProperties,   setJndiName,   setMaxSize,   setMinSize,   setNewConnectionSQL,   setPassword,   setPreparedStatementCacheSize,   setSharePreparedStatements,   setTrackStatements,   setTransactionIsolation,   setTransactionManager,   setTxQueryTimeout,   setUserName,   setValidConnectionCheckerClassName,   start,   unbindConnectionFactory
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.adapter.jdbc.local.LocalTxDataSource Detail:
 protected  void bindConnectionFactory() throws Exception 
    Bind the connection factory into jndi
 public int getBlockingTimeout() 
 public String getCheckValidConnectionSQL() 
 public String getConnectionURL() 
 public Object getDatasource() 
 public String getDriverClass() 
 public String getExceptionSorterClassName() 
 public long getIdleTimeout() 
 public String getJndiName() 
 public int getMaxSize() 
 public int getMinSize() 
 public String getNewConnectionSQL() 
 public int getPreparedStatementCacheSize() 
 public boolean getSharePreparedStatements() 
 public String getTrackStatements() 
 public String getTransactionIsolation() 
 public TransactionManager getTransactionManager() 
 public boolean getTxQueryTimeout() 
 public String getValidConnectionCheckerClassName() 
 public  void setBlockingTimeout(int blockingTimeout) 
 public  void setCachedConnectionManager(CachedConnectionManagerReference cachedConnectionManager) 
 public  void setCheckValidConnectionSQL(String checkValidConnectionSQL) 
 public  void setConnectionURL(String connectionURL) 
 public  void setDriverClass(String driverClass) 
 public  void setExceptionSorterClassName(String exceptionSorterClassName) 
 public  void setIdleTimeout(long idleTimeout) 
 public  void setInitialContextProperties(Hashtable initialContextProperties) 
 public  void setJndiName(String jndiName) 
 public  void setMaxSize(int maxSize) 
 public  void setMinSize(int minSize) 
 public  void setNewConnectionSQL(String newConnectionSQL) 
 public  void setPassword(String password) 
 public  void setPreparedStatementCacheSize(int size) 
 public  void setSharePreparedStatements(boolean sharePS) 
 public  void setTrackStatements(String value) 
 public  void setTransactionIsolation(String transactionIsolation) 
 public  void setTransactionManager(TransactionManager transactionManager) 
 public  void setTxQueryTimeout(boolean qt) 
 public  void setUserName(String userName) 
 public  void setValidConnectionCheckerClassName(String value) 
 public  void start() throws Exception 
 protected  void unbindConnectionFactory() throws Exception