Class WrapperConnectionPoolDataSourceBase

    • Field Detail

      • pcs

        protected java.beans.PropertyChangeSupport pcs
      • vcs

        protected java.beans.VetoableChangeSupport vcs
    • Constructor Detail

      • WrapperConnectionPoolDataSourceBase

        public WrapperConnectionPoolDataSourceBase​(boolean autoregister)
    • Method Detail

      • getPropertyChangeSupport

        protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
      • getVetoableChangeSupport

        protected java.beans.VetoableChangeSupport getVetoableChangeSupport()
      • getAcquireIncrement

        public int getAcquireIncrement()
      • setAcquireIncrement

        public void setAcquireIncrement​(int acquireIncrement)
      • getAcquireRetryAttempts

        public int getAcquireRetryAttempts()
      • setAcquireRetryAttempts

        public void setAcquireRetryAttempts​(int acquireRetryAttempts)
      • getAcquireRetryDelay

        public int getAcquireRetryDelay()
      • setAcquireRetryDelay

        public void setAcquireRetryDelay​(int acquireRetryDelay)
      • isAttemptResurrectOnCheckin

        public boolean isAttemptResurrectOnCheckin()
      • setAttemptResurrectOnCheckin

        public void setAttemptResurrectOnCheckin​(boolean attemptResurrectOnCheckin)
      • isAutoCommitOnClose

        public boolean isAutoCommitOnClose()
      • setAutoCommitOnClose

        public void setAutoCommitOnClose​(boolean autoCommitOnClose)
      • getAutomaticTestTable

        public java.lang.String getAutomaticTestTable()
      • setAutomaticTestTable

        public void setAutomaticTestTable​(java.lang.String automaticTestTable)
      • isBreakAfterAcquireFailure

        public boolean isBreakAfterAcquireFailure()
      • setBreakAfterAcquireFailure

        public void setBreakAfterAcquireFailure​(boolean breakAfterAcquireFailure)
      • getCheckoutTimeout

        public int getCheckoutTimeout()
      • setCheckoutTimeout

        public void setCheckoutTimeout​(int checkoutTimeout)
      • getConnectionCustomizerClassName

        public java.lang.String getConnectionCustomizerClassName()
      • setConnectionCustomizerClassName

        public void setConnectionCustomizerClassName​(java.lang.String connectionCustomizerClassName)
      • getConnectionIsValidTimeout

        public int getConnectionIsValidTimeout()
      • setConnectionIsValidTimeout

        public void setConnectionIsValidTimeout​(int connectionIsValidTimeout)
      • getConnectionTesterClassName

        public java.lang.String getConnectionTesterClassName()
      • setConnectionTesterClassName

        public void setConnectionTesterClassName​(java.lang.String connectionTesterClassName)
                                          throws java.beans.PropertyVetoException
        Throws:
        java.beans.PropertyVetoException
      • getContextClassLoaderSource

        public java.lang.String getContextClassLoaderSource()
      • setContextClassLoaderSource

        public void setContextClassLoaderSource​(java.lang.String contextClassLoaderSource)
                                         throws java.beans.PropertyVetoException
        Throws:
        java.beans.PropertyVetoException
      • isDebugUnreturnedConnectionStackTraces

        public boolean isDebugUnreturnedConnectionStackTraces()
      • setDebugUnreturnedConnectionStackTraces

        public void setDebugUnreturnedConnectionStackTraces​(boolean debugUnreturnedConnectionStackTraces)
      • getFactoryClassLocation

        public java.lang.String getFactoryClassLocation()
      • setFactoryClassLocation

        public void setFactoryClassLocation​(java.lang.String factoryClassLocation)
      • isForceIgnoreUnresolvedTransactions

        public boolean isForceIgnoreUnresolvedTransactions()
      • setForceIgnoreUnresolvedTransactions

        public void setForceIgnoreUnresolvedTransactions​(boolean forceIgnoreUnresolvedTransactions)
      • isForceSynchronousCheckins

        public boolean isForceSynchronousCheckins()
      • setForceSynchronousCheckins

        public void setForceSynchronousCheckins​(boolean forceSynchronousCheckins)
      • getIdleConnectionTestPeriod

        public int getIdleConnectionTestPeriod()
      • setIdleConnectionTestPeriod

        public void setIdleConnectionTestPeriod​(int idleConnectionTestPeriod)
      • getInitialPoolSize

        public int getInitialPoolSize()
      • setInitialPoolSize

        public void setInitialPoolSize​(int initialPoolSize)
      • getMarkSessionBoundaries

        public java.lang.String getMarkSessionBoundaries()
      • setMarkSessionBoundaries

        public void setMarkSessionBoundaries​(java.lang.String markSessionBoundaries)
                                      throws java.beans.PropertyVetoException
        Throws:
        java.beans.PropertyVetoException
      • getMaxAdministrativeTaskTime

        public int getMaxAdministrativeTaskTime()
      • setMaxAdministrativeTaskTime

        public void setMaxAdministrativeTaskTime​(int maxAdministrativeTaskTime)
      • getMaxConnectionAge

        public int getMaxConnectionAge()
      • setMaxConnectionAge

        public void setMaxConnectionAge​(int maxConnectionAge)
      • getMaxIdleTime

        public int getMaxIdleTime()
      • setMaxIdleTime

        public void setMaxIdleTime​(int maxIdleTime)
      • getMaxIdleTimeExcessConnections

        public int getMaxIdleTimeExcessConnections()
      • setMaxIdleTimeExcessConnections

        public void setMaxIdleTimeExcessConnections​(int maxIdleTimeExcessConnections)
      • getMaxPoolSize

        public int getMaxPoolSize()
      • setMaxPoolSize

        public void setMaxPoolSize​(int maxPoolSize)
      • getMaxStatements

        public int getMaxStatements()
      • setMaxStatements

        public void setMaxStatements​(int maxStatements)
      • getMaxStatementsPerConnection

        public int getMaxStatementsPerConnection()
      • setMaxStatementsPerConnection

        public void setMaxStatementsPerConnection​(int maxStatementsPerConnection)
      • getMinPoolSize

        public int getMinPoolSize()
      • setMinPoolSize

        public void setMinPoolSize​(int minPoolSize)
      • getNestedDataSource

        public javax.sql.DataSource getNestedDataSource()
      • setNestedDataSource

        public void setNestedDataSource​(javax.sql.DataSource nestedDataSource)
      • getOverrideDefaultPassword

        public java.lang.String getOverrideDefaultPassword()
      • setOverrideDefaultPassword

        public void setOverrideDefaultPassword​(java.lang.String overrideDefaultPassword)
      • getOverrideDefaultUser

        public java.lang.String getOverrideDefaultUser()
      • setOverrideDefaultUser

        public void setOverrideDefaultUser​(java.lang.String overrideDefaultUser)
      • getPreferredTestQuery

        public java.lang.String getPreferredTestQuery()
      • setPreferredTestQuery

        public void setPreferredTestQuery​(java.lang.String preferredTestQuery)
      • isPrivilegeSpawnedThreads

        public boolean isPrivilegeSpawnedThreads()
      • setPrivilegeSpawnedThreads

        public void setPrivilegeSpawnedThreads​(boolean privilegeSpawnedThreads)
      • getPropertyCycle

        public int getPropertyCycle()
      • setPropertyCycle

        public void setPropertyCycle​(int propertyCycle)
      • getStatementCacheNumDeferredCloseThreads

        public int getStatementCacheNumDeferredCloseThreads()
      • setStatementCacheNumDeferredCloseThreads

        public void setStatementCacheNumDeferredCloseThreads​(int statementCacheNumDeferredCloseThreads)
      • getTaskRunnerFactoryClassName

        public java.lang.String getTaskRunnerFactoryClassName()
      • setTaskRunnerFactoryClassName

        public void setTaskRunnerFactoryClassName​(java.lang.String taskRunnerFactoryClassName)
                                           throws java.beans.PropertyVetoException
        Throws:
        java.beans.PropertyVetoException
      • isTestConnectionOnCheckin

        public boolean isTestConnectionOnCheckin()
      • setTestConnectionOnCheckin

        public void setTestConnectionOnCheckin​(boolean testConnectionOnCheckin)
      • isTestConnectionOnCheckout

        public boolean isTestConnectionOnCheckout()
      • setTestConnectionOnCheckout

        public void setTestConnectionOnCheckout​(boolean testConnectionOnCheckout)
      • getUnreturnedConnectionTimeout

        public int getUnreturnedConnectionTimeout()
      • setUnreturnedConnectionTimeout

        public void setUnreturnedConnectionTimeout​(int unreturnedConnectionTimeout)
      • getUserOverridesAsString

        public java.lang.String getUserOverridesAsString()
      • setUserOverridesAsString

        public void setUserOverridesAsString​(java.lang.String userOverridesAsString)
                                      throws java.beans.PropertyVetoException
        Throws:
        java.beans.PropertyVetoException
      • addPropertyChangeListener

        public void addPropertyChangeListener​(java.beans.PropertyChangeListener pcl)
      • addPropertyChangeListener

        public void addPropertyChangeListener​(java.lang.String propName,
                                              java.beans.PropertyChangeListener pcl)
      • removePropertyChangeListener

        public void removePropertyChangeListener​(java.beans.PropertyChangeListener pcl)
      • removePropertyChangeListener

        public void removePropertyChangeListener​(java.lang.String propName,
                                                 java.beans.PropertyChangeListener pcl)
      • getPropertyChangeListeners

        public java.beans.PropertyChangeListener[] getPropertyChangeListeners()
      • addVetoableChangeListener

        public void addVetoableChangeListener​(java.beans.VetoableChangeListener vcl)
      • removeVetoableChangeListener

        public void removeVetoableChangeListener​(java.beans.VetoableChangeListener vcl)
      • getVetoableChangeListeners

        public java.beans.VetoableChangeListener[] getVetoableChangeListeners()
      • getParentLogger

        public java.util.logging.Logger getParentLogger()
                                                 throws java.sql.SQLFeatureNotSupportedException
        Throws:
        java.sql.SQLFeatureNotSupportedException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • extraToStringInfo

        protected java.lang.String extraToStringInfo()
      • getReference

        public javax.naming.Reference getReference()
                                            throws javax.naming.NamingException
        Specified by:
        getReference in interface javax.naming.Referenceable
        Throws:
        javax.naming.NamingException
      • getPooledConnection

        protected abstract javax.sql.PooledConnection getPooledConnection​(ConnectionCustomizer cc,
                                                                          java.lang.String idt)
                                                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getPooledConnection

        protected abstract javax.sql.PooledConnection getPooledConnection​(java.lang.String user,
                                                                          java.lang.String password,
                                                                          ConnectionCustomizer cc,
                                                                          java.lang.String idt)
                                                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException