Top Fields Constructors Methods
com.mchange.v2.c3p0.mbean

public Class C3P0PooledDataSource

extends Object
implements C3P0PooledDataSourceMBean
Class Inheritance
All Implemented Interfaces
com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean
Imports
com.mchange.v2.c3p0.*, com.mchange.v2.log.*, java.beans.PropertyVetoException, java.sql.Connection, .SQLException, java.io.PrintWriter, java.util.Properties, javax.sql.DataSource, javax.naming.InitialContext, .Name, .Context, .NameAlreadyBoundException, .NamingException

Deprecated

Please use com.mchange.v2.c3p0.jboss.C3P0PooledDataSource

Field Summary

Modifier and TypeField and Description
pack-priv ComboPooledDataSource
pack-priv String
private static final MLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public int
public int
public int
public String
public int
public int
public String
public String
public String
public String
public String
public int
public int
public String
public String
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public int
public String
public String
public int
public String
public String
public void
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
private void
private void
rebind(String unbindName)

public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

combodsback to summary
pack-priv ComboPooledDataSource combods
jndiNameback to summary
pack-priv String jndiName
loggerback to summary
private static final MLogger logger

Constructor Detail

C3P0PooledDataSourceback to summary
public C3P0PooledDataSource()

Method Detail

closeback to summary
public void close() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.close.

createback to summary
public void create() throws Exception

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.create.

destroyback to summary
public void destroy()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.destroy.

getAcquireIncrementback to summary
public int getAcquireIncrement()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getAcquireIncrement.

getAcquireRetryAttemptsback to summary
public int getAcquireRetryAttempts()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getAcquireRetryAttempts.

getAcquireRetryDelayback to summary
public int getAcquireRetryDelay()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getAcquireRetryDelay.

getAutomaticTestTableback to summary
public String getAutomaticTestTable()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getAutomaticTestTable.

getCheckoutTimeoutback to summary
public int getCheckoutTimeout()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getCheckoutTimeout.

getConnectionIsValidTimeoutback to summary
public int getConnectionIsValidTimeout()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getConnectionIsValidTimeout.

getConnectionTesterClassNameback to summary
public String getConnectionTesterClassName()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getConnectionTesterClassName.

getDataSourceNameback to summary
public String getDataSourceName()
getDescriptionback to summary
public String getDescription()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getDescription.

getDriverClassback to summary
public String getDriverClass()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getDriverClass.

getFactoryClassLocationback to summary
public String getFactoryClassLocation()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getFactoryClassLocation.

getIdleConnectionTestPeriodback to summary
public int getIdleConnectionTestPeriod()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getIdleConnectionTestPeriod.

getInitialPoolSizeback to summary
public int getInitialPoolSize()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getInitialPoolSize.

getJdbcUrlback to summary
public String getJdbcUrl()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getJdbcUrl.

getJndiNameback to summary
public String getJndiName()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getJndiName.

getMaxIdleTimeback to summary
public int getMaxIdleTime()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getMaxIdleTime.

getMaxPoolSizeback to summary
public int getMaxPoolSize()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getMaxPoolSize.

getMaxStatementsback to summary
public int getMaxStatements()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getMaxStatements.

getMaxStatementsPerConnectionback to summary
public int getMaxStatementsPerConnection()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getMaxStatementsPerConnection.

getMinPoolSizeback to summary
public int getMinPoolSize()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getMinPoolSize.

getNumBusyConnectionsback to summary
public int getNumBusyConnections(String username, String password) throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumBusyConnections.

getNumBusyConnectionsAllUsersback to summary
public int getNumBusyConnectionsAllUsers() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumBusyConnectionsAllUsers.

getNumBusyConnectionsDefaultUserback to summary
public int getNumBusyConnectionsDefaultUser() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumBusyConnectionsDefaultUser.

getNumConnectionsback to summary
public int getNumConnections(String username, String password) throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumConnections.

getNumConnectionsAllUsersback to summary
public int getNumConnectionsAllUsers() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumConnectionsAllUsers.

getNumConnectionsDefaultUserback to summary
public int getNumConnectionsDefaultUser() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumConnectionsDefaultUser.

getNumHelperThreadsback to summary
public int getNumHelperThreads()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumHelperThreads.

getNumIdleConnectionsback to summary
public int getNumIdleConnections(String username, String password) throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumIdleConnections.

getNumIdleConnectionsAllUsersback to summary
public int getNumIdleConnectionsAllUsers() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumIdleConnectionsAllUsers.

getNumIdleConnectionsDefaultUserback to summary
public int getNumIdleConnectionsDefaultUser() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumIdleConnectionsDefaultUser.

getNumUnclosedOrphanedConnectionsback to summary
public int getNumUnclosedOrphanedConnections(String username, String password) throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumUnclosedOrphanedConnections.

getNumUnclosedOrphanedConnectionsAllUsersback to summary
public int getNumUnclosedOrphanedConnectionsAllUsers() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumUnclosedOrphanedConnectionsAllUsers.

getNumUnclosedOrphanedConnectionsDefaultUserback to summary
public int getNumUnclosedOrphanedConnectionsDefaultUser() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumUnclosedOrphanedConnectionsDefaultUser.

getNumUserPoolsback to summary
public int getNumUserPools() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getNumUserPools.

getPasswordback to summary
public String getPassword()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getPassword.

getPreferredTestQueryback to summary
public String getPreferredTestQuery()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getPreferredTestQuery.

getPropertyCycleback to summary
public int getPropertyCycle()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getPropertyCycle.

getTaskRunnerFactoryClassNameback to summary
public String getTaskRunnerFactoryClassName()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getTaskRunnerFactoryClassName.

getUserback to summary
public String getUser()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.getUser.

hardResetback to summary
public void hardReset() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.hardReset.

isAttemptResurrectOnCheckinback to summary
public boolean isAttemptResurrectOnCheckin()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.isAttemptResurrectOnCheckin.

isAutoCommitOnCloseback to summary
public boolean isAutoCommitOnClose()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.isAutoCommitOnClose.

isBreakAfterAcquireFailureback to summary
public boolean isBreakAfterAcquireFailure()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.isBreakAfterAcquireFailure.

isForceIgnoreUnresolvedTransactionsback to summary
public boolean isForceIgnoreUnresolvedTransactions()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.isForceIgnoreUnresolvedTransactions.

isTestConnectionOnCheckinback to summary
public boolean isTestConnectionOnCheckin()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.isTestConnectionOnCheckin.

isTestConnectionOnCheckoutback to summary
public boolean isTestConnectionOnCheckout()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.isTestConnectionOnCheckout.

rebindback to summary
private void rebind() throws NamingException
rebindback to summary
private void rebind(String unbindName) throws NamingException
setAcquireIncrementback to summary
public void setAcquireIncrement(int acquireIncrement) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setAcquireIncrement.

setAcquireRetryAttemptsback to summary
public void setAcquireRetryAttempts(int acquireRetryAttempts) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setAcquireRetryAttempts.

setAcquireRetryDelayback to summary
public void setAcquireRetryDelay(int acquireRetryDelay) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setAcquireRetryDelay.

setAttemptResurrectOnCheckinback to summary
public void setAttemptResurrectOnCheckin(boolean attemptResurrectOnCheckin) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setAttemptResurrectOnCheckin.

setAutoCommitOnCloseback to summary
public void setAutoCommitOnClose(boolean autoCommitOnClose) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setAutoCommitOnClose.

setAutomaticTestTableback to summary
public void setAutomaticTestTable(String automaticTestTable) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setAutomaticTestTable.

setBreakAfterAcquireFailureback to summary
public void setBreakAfterAcquireFailure(boolean breakAfterAcquireFailure) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setBreakAfterAcquireFailure.

setCheckoutTimeoutback to summary
public void setCheckoutTimeout(int checkoutTimeout) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setCheckoutTimeout.

setConnectionIsValidTimeoutback to summary
public void setConnectionIsValidTimeout(int connectionIsValidTimeout) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setConnectionIsValidTimeout.

setConnectionTesterClassNameback to summary
public void setConnectionTesterClassName(String connectionTesterClassName) throws PropertyVetoException, NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setConnectionTesterClassName.

setDataSourceNameback to summary
public void setDataSourceName(String name) throws NamingException
setDescriptionback to summary
public void setDescription(String description) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setDescription.

setDriverClassback to summary
public void setDriverClass(String driverClass) throws PropertyVetoException, NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setDriverClass.

setFactoryClassLocationback to summary
public void setFactoryClassLocation(String factoryClassLocation) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setFactoryClassLocation.

setForceIgnoreUnresolvedTransactionsback to summary
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setForceIgnoreUnresolvedTransactions.

setIdleConnectionTestPeriodback to summary
public void setIdleConnectionTestPeriod(int idleConnectionTestPeriod) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setIdleConnectionTestPeriod.

setInitialPoolSizeback to summary
public void setInitialPoolSize(int initialPoolSize) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setInitialPoolSize.

setJdbcUrlback to summary
public void setJdbcUrl(String jdbcUrl) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setJdbcUrl.

setJndiNameback to summary
public void setJndiName(String jndiName) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setJndiName.

setMaxIdleTimeback to summary
public void setMaxIdleTime(int maxIdleTime) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setMaxIdleTime.

setMaxPoolSizeback to summary
public void setMaxPoolSize(int maxPoolSize) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setMaxPoolSize.

setMaxStatementsback to summary
public void setMaxStatements(int maxStatements) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setMaxStatements.

setMaxStatementsPerConnectionback to summary
public void setMaxStatementsPerConnection(int maxStatementsPerConnection) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setMaxStatementsPerConnection.

setMinPoolSizeback to summary
public void setMinPoolSize(int minPoolSize) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setMinPoolSize.

setNumHelperThreadsback to summary
public void setNumHelperThreads(int numHelperThreads) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setNumHelperThreads.

setPasswordback to summary
public void setPassword(String password) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setPassword.

setPreferredTestQueryback to summary
public void setPreferredTestQuery(String preferredTestQuery) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setPreferredTestQuery.

setPropertyCycleback to summary
public void setPropertyCycle(int propertyCycle) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setPropertyCycle.

setTaskRunnerFactoryClassNameback to summary
public void setTaskRunnerFactoryClassName(String taskRunnerFactory) throws PropertyVetoException, NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setTaskRunnerFactoryClassName.

setTestConnectionOnCheckinback to summary
public void setTestConnectionOnCheckin(boolean testConnectionOnCheckin) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setTestConnectionOnCheckin.

setTestConnectionOnCheckoutback to summary
public void setTestConnectionOnCheckout(boolean testConnectionOnCheckout) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setTestConnectionOnCheckout.

setUserback to summary
public void setUser(String user) throws NamingException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.setUser.

softResetback to summary
public void softReset(String username, String password) throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.softReset.

softResetAllUsersback to summary
public void softResetAllUsers() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.softResetAllUsers.

softResetDefaultUserback to summary
public void softResetDefaultUser() throws SQLException

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.softResetDefaultUser.

startback to summary
public void start() throws Exception

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.start.

stopback to summary
public void stop()

Implements com.mchange.v2.c3p0.mbean.C3P0PooledDataSourceMBean.stop.