public class ProxoolDataSource
extends java.lang.Object
implements DataSource, ObjectFactory
getAlias
public String getAlias()
getConnection
public Connection getConnection()
throws SQLException
javax.sql.DataSource.getConnection()
getConnection
public Connection getConnection(String s,
String s1)
throws SQLException
getDriver
public String getDriver()
getDriverUrl
public String getDriverUrl()
getFatalSqlExceptionWrapperClass
public String getFatalSqlExceptionWrapperClass()
getFatalSqlExceptionsAsString
public String getFatalSqlExceptionsAsString()
getHouseKeepingSleepTime
public long getHouseKeepingSleepTime()
getHouseKeepingTestSql
public String getHouseKeepingTestSql()
getJmxAgentId
public String getJmxAgentId()
getLogWriter
public PrintWriter getLogWriter()
throws SQLException
getLoginTimeout
public int getLoginTimeout()
throws SQLException
getMaximumActiveTime
public long getMaximumActiveTime()
getMaximumConnectionCount
public int getMaximumConnectionCount()
getMaximumConnectionLifetime
public long getMaximumConnectionLifetime()
getMinimumConnectionCount
public int getMinimumConnectionCount()
getObjectInstance
public Object getObjectInstance(Object refObject,
Name name,
Context context,
Hashtable hashtable)
throws Exception
getOverloadWithoutRefusalLifetime
public long getOverloadWithoutRefusalLifetime()
getPassword
public String getPassword()
getPrototypeCount
public int getPrototypeCount()
getRecentlyStartedThreshold
public long getRecentlyStartedThreshold()
getSimultaneousBuildThrottle
public int getSimultaneousBuildThrottle()
getStatistics
public String getStatistics()
getStatisticsLogLevel
public String getStatisticsLogLevel()
getUser
public String getUser()
isJmx
public boolean isJmx()
isTestAfterUse
public boolean isTestAfterUse()
isTestBeforeUse
public boolean isTestBeforeUse()
isTrace
public boolean isTrace()
isVerbose
public boolean isVerbose()
setAlias
public void setAlias(String alias)
setDelegateProperties
public void setDelegateProperties(String properties)
Set any property that should be handed to the delegate driver.
E.g. foo=1,bar=true
properties
- a comma delimited list of name=value pairs
setDriver
public void setDriver(String driver)
setDriverUrl
public void setDriverUrl(String url)
setFatalSqlExceptionWrapperClass
public void setFatalSqlExceptionWrapperClass(String fatalSqlExceptionWrapperClass)
setFatalSqlExceptionsAsString
public void setFatalSqlExceptionsAsString(String fatalSqlExceptionsAsString)
setHouseKeepingSleepTime
public void setHouseKeepingSleepTime(int houseKeepingSleepTime)
setHouseKeepingTestSql
public void setHouseKeepingTestSql(String houseKeepingTestSql)
setJmx
public void setJmx(boolean jmx)
setJmxAgentId
public void setJmxAgentId(String jmxAgentId)
setLogWriter
public void setLogWriter(PrintWriter logWriter)
throws SQLException
setLoginTimeout
public void setLoginTimeout(int loginTimeout)
throws SQLException
setMaximumActiveTime
public void setMaximumActiveTime(long maximumActiveTime)
setMaximumConnectionCount
public void setMaximumConnectionCount(int maximumConnectionCount)
setMaximumConnectionLifetime
public void setMaximumConnectionLifetime(int maximumConnectionLifetime)
setMinimumConnectionCount
public void setMinimumConnectionCount(int minimumConnectionCount)
setOverloadWithoutRefusalLifetime
public void setOverloadWithoutRefusalLifetime(int overloadWithoutRefusalLifetime)
setPassword
public void setPassword(String password)
setPrototypeCount
public void setPrototypeCount(int prototypeCount)
setRecentlyStartedThreshold
public void setRecentlyStartedThreshold(int recentlyStartedThreshold)
setSimultaneousBuildThrottle
public void setSimultaneousBuildThrottle(int simultaneousBuildThrottle)
setStatistics
public void setStatistics(String statistics)
setStatisticsLogLevel
public void setStatisticsLogLevel(String statisticsLogLevel)
setTestAfterUse
public void setTestAfterUse(boolean testAfterUse)
setTestBeforeUse
public void setTestBeforeUse(boolean testBeforeUse)
setTrace
public void setTrace(boolean trace)
setUser
public void setUser(String user)
setVerbose
public void setVerbose(boolean verbose)