当前页面:
在线文档首页 >
JBoss Seam 1.2.0 API 英文版文档
DataSourceFactory (JBoss Seam API Documentation) - JBoss Seam 1.2.0 API 英文版文档
org.jboss.seam.microcontainer
Class DataSourceFactory
java.lang.Object
org.jboss.seam.microcontainer.DataSourceFactory
public class DataSourceFactory
- extends Object
A factory that configures and creates a JCA datasource
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceFactory
public DataSourceFactory()
getDataSource
public Object getDataSource()
throws Exception
- Throws:
Exception
getBlockingTimeout
public int getBlockingTimeout()
setBlockingTimeout
public void setBlockingTimeout(int blockingTimeout)
getIdleTimeout
public int getIdleTimeout()
setIdleTimeout
public void setIdleTimeout(int idleTimeout)
getMaxSize
public int getMaxSize()
setMaxSize
public void setMaxSize(int maxSize)
getMinSize
public int getMinSize()
setMinSize
public void setMinSize(int minSize)
getConnectionUrl
public String getConnectionUrl()
setConnectionUrl
public void setConnectionUrl(String connectionUrl)
getDriverClass
public String getDriverClass()
setDriverClass
public void setDriverClass(String driverClass)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
getUserName
public String getUserName()
setUserName
public void setUserName(String userName)
getPreparedStatementCacheSize
public int getPreparedStatementCacheSize()
setPreparedStatementCacheSize
public void setPreparedStatementCacheSize(int preparedStatementCacheSize)
getCheckValidConnectionSql
public String getCheckValidConnectionSql()
setCheckValidConnectionSql
public void setCheckValidConnectionSql(String checkValidConnectionSql)
getJndiName
public String getJndiName()
setJndiName
public void setJndiName(String jndiName)
getTransactionManager
public TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)