@ResourceTypeOrder(deploymentOrder=JDBC_POOL) @UniqueResourceNameConstraint(message="{resourcename.isnot.unique}", payload=JdbcConnectionPool.class) public interface JdbcConnectionPool extends ConfigBeanProxy, Resource, ResourcePool, PropertyBag
Modifier and Type | Interface and Description |
---|---|
static class |
JdbcConnectionPool.Duck |
Modifier and Type | Method and Description |
---|---|
String |
getAllowNonComponentCallers()
Gets the value of the allowNonComponentCallers property.
|
String |
getAssociateWithThread()
Gets the value of the associateWithThread property.
|
String |
getConnectionCreationRetryAttempts()
Gets the value of the connectionCreationRetryAttempts property.
|
String |
getConnectionCreationRetryIntervalInSeconds()
Gets the value of the connectionCreationRetryIntervalInSeconds property.
|
String |
getConnectionLeakReclaim()
Gets the value of the connectionLeakReclaim property.
|
String |
getConnectionLeakTimeoutInSeconds()
Gets the value of the connectionLeakTimeoutInSeconds property.
|
@Pattern(regexp="(auto-commit|meta-data|custom-validation|table)") String |
getConnectionValidationMethod()
Gets the value of the connectionValidationMethod property.
|
String |
getDatasourceClassname()
Gets the value of the datasourceClassname property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getDriverClassname()
Gets the value of the driverClassname property.
|
String |
getFailAllConnections()
Gets the value of the failAllConnections property.
|
String |
getIdentity() |
String |
getIdleTimeoutInSeconds()
Gets the value of the idleTimeoutInSeconds property.
|
String |
getInitSql()
Gets the value of the initSql property.
|
String |
getIsConnectionValidationRequired()
Gets the value of the isConnectionValidationRequired property.
|
String |
getIsIsolationLevelGuaranteed()
Gets the value of the isIsolationLevelGuaranteed property.
|
String |
getLazyConnectionAssociation()
Gets the value of the lazyConnectionAssociation property.
|
String |
getLazyConnectionEnlistment()
Gets the value of the lazyConnectionEnlistment property.
|
String |
getLogJdbcCalls()
Gets the value of the logJDBCCalls property.
|
String |
getMatchConnections()
Gets the value of the matchConnections property.
|
String |
getMaxConnectionUsageCount()
Gets the value of the maxConnectionUsageCount property.
|
String |
getMaxPoolSize()
Gets the value of the maxPoolSize property.
|
String |
getMaxWaitTimeInMillis()
Gets the value of the maxWaitTimeInMillis property.
|
String |
getNonTransactionalConnections()
Gets the value of the nonTransactionalConnections property.
|
String |
getPooling()
Gets the value of the pooling property.
|
String |
getPoolResizeQuantity()
Gets the value of the poolResizeQuantity property.
|
List<Property> |
getProperty()
Properties.
|
@Pattern(regexp="(java.sql.Driver|javax.sql.DataSource|javax.sql.XADataSource|javax.sql.ConnectionPoolDataSource)") String |
getResType()
Gets the value of the resType property.
|
@Min(value=-1L) String |
getSlowQueryThresholdInSeconds()
Gets the value of the sloqSQLLogThreshold property.
|
String |
getSqlTraceListeners()
Gets the value of the SqlTraceListeners property.
|
String |
getStatementCacheSize()
Gets the value of the statementCacheSize property.
|
String |
getStatementCacheType()
Gets the value of the statementCacheType property.
|
String |
getStatementLeakReclaim() |
String |
getStatementLeakTimeoutInSeconds() |
@Min(value=-1L) String |
getStatementTimeoutInSeconds()
Gets the value of the statementTimeoutInSeconds property.
|
String |
getSteadyPoolSize()
Gets the value of the steadyPoolSize property.
|
@Pattern(regexp="(read-uncommitted||read-committed|repeatable-read|serializable|snapshot)") String |
getTransactionIsolationLevel()
Gets the value of the transactionIsolationLevel property.
|
String |
getValidateAtmostOncePeriodInSeconds()
Gets the value of the validateAtmostOncePeriodInSeconds property.
|
String |
getValidationClassname()
Gets the value of the validationClassName property.
|
String |
getValidationTableName()
Gets the value of the validationTableName property.
|
String |
getWrapJdbcObjects()
Gets the value of the wrapJdbcObjects property.
|
void |
setAllowNonComponentCallers(String value)
Sets the value of the allowNonComponentCallers property.
|
void |
setAssociateWithThread(String value)
Sets the value of the associateWithThread property.
|
void |
setConnectionCreationRetryAttempts(String value)
Sets the value of the connectionCreationRetryAttempts property.
|
void |
setConnectionCreationRetryIntervalInSeconds(String value)
Sets the value of the connectionCreationRetryIntervalInSeconds property.
|
void |
setConnectionLeakReclaim(String value)
Sets the value of the connectionLeakReclaim property.
|
void |
setConnectionLeakTimeoutInSeconds(String value)
Sets the value of the connectionLeakTimeoutInSeconds property.
|
void |
setConnectionValidationMethod(String value)
Sets the value of the connectionValidationMethod property.
|
void |
setDatasourceClassname(String value)
Sets the value of the datasourceClassname property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDriverClassname(String value)
Sets the value of the driverClassname property.
|
void |
setFailAllConnections(String value)
Sets the value of the failAllConnections property.
|
void |
setIdleTimeoutInSeconds(String value)
Sets the value of the idleTimeoutInSeconds property.
|
void |
setInitSql(String value)
Sets the value of the initSql property.
|
void |
setIsConnectionValidationRequired(String value)
Sets the value of the isConnectionValidationRequired property.
|
void |
setIsIsolationLevelGuaranteed(String value)
Sets the value of the isIsolationLevelGuaranteed property.
|
void |
setLazyConnectionAssociation(String value)
Sets the value of the lazyConnectionAssociation property.
|
void |
setLazyConnectionEnlistment(String value)
Sets the value of the lazyConnectionEnlistment property.
|
void |
setLogJdbcCalls(String value)
Sets the value of the LogJdbcCalls property.
|
void |
setMatchConnections(String value)
Sets the value of the matchConnections property.
|
void |
setMaxConnectionUsageCount(String value)
Sets the value of the maxConnectionUsageCount property.
|
void |
setMaxPoolSize(String value)
Sets the value of the maxPoolSize property.
|
void |
setMaxWaitTimeInMillis(String value)
Sets the value of the maxWaitTimeInMillis property.
|
void |
setNonTransactionalConnections(String value)
Sets the value of the nonTransactionalConnections property.
|
void |
setPooling(String value)
Sets the value of the pooling property.
|
void |
setPoolResizeQuantity(String value)
Sets the value of the poolResizeQuantity property.
|
void |
setResType(String value)
Sets the value of the resType property.
|
void |
setSlowQueryThresholdInSeconds(String value)
Sets the value of the slowQueryThreasholdInSeconds property.
|
void |
setSqlTraceListeners(String value)
Sets the value of the sqltracelisteners property.
|
void |
setStatementCacheSize(String value)
Sets the value of the statementCacheSize property.
|
void |
setStatementCacheType(String value)
Sets the value of the statementCacheType property.
|
void |
setStatementLeakReclaim(String value)
Sets the value of the statementLeakReclaim property.
|
void |
setStatementLeakTimeoutInSeconds(String value)
Sets the value of the statementLeakTimeoutInSeconds property.
|
void |
setStatementTimeoutInSeconds(String value)
Sets the value of the statementTimeoutInSeconds property.
|
void |
setSteadyPoolSize(String value)
Sets the value of the steadyPoolSize property.
|
void |
setTransactionIsolationLevel(String value)
Sets the value of the transactionIsolationLevel property.
|
void |
setValidateAtmostOncePeriodInSeconds(String value)
Sets the value of the validateAtmostOncePeriodInSeconds property.
|
void |
setValidationClassname(String value)
Sets the value of the validationClassName property.
|
void |
setValidationTableName(String value)
Sets the value of the validationTableName property.
|
void |
setWrapJdbcObjects(String value)
Sets the value of the wrapJdbcObjects property.
|
getName, getPing, setName, setPing
getDeploymentOrder, getObjectType, setDeploymentOrder, setObjectType
createChild, deepCopy, getParent, getParent
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
String getDatasourceClassname()
String
void setDatasourceClassname(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getDriverClassname()
String
void setDriverClassname(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@Pattern(regexp="(java.sql.Driver|javax.sql.DataSource|javax.sql.XADataSource|javax.sql.ConnectionPoolDataSource)") @Pattern(regexp="(java.sql.Driver|javax.sql.DataSource|javax.sql.XADataSource|javax.sql.ConnectionPoolDataSource)") String getResType()
String
void setResType(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getSteadyPoolSize()
String
void setSteadyPoolSize(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getMaxPoolSize()
String
void setMaxPoolSize(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getMaxWaitTimeInMillis()
String
void setMaxWaitTimeInMillis(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getPoolResizeQuantity()
String
void setPoolResizeQuantity(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getIdleTimeoutInSeconds()
String
void setIdleTimeoutInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@Pattern(regexp="(read-uncommitted||read-committed|repeatable-read|serializable|snapshot)") @Pattern(regexp="(read-uncommitted||read-committed|repeatable-read|serializable|snapshot)") String getTransactionIsolationLevel()
String
void setTransactionIsolationLevel(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getIsIsolationLevelGuaranteed()
String
void setIsIsolationLevelGuaranteed(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getIsConnectionValidationRequired()
String
void setIsConnectionValidationRequired(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@Pattern(regexp="(auto-commit|meta-data|custom-validation|table)") @Pattern(regexp="(auto-commit|meta-data|custom-validation|table)") String getConnectionValidationMethod()
String
void setConnectionValidationMethod(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getValidationTableName()
String
void setValidationTableName(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getValidationClassname()
String
void setValidationClassname(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getFailAllConnections()
String
void setFailAllConnections(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getNonTransactionalConnections()
String
void setNonTransactionalConnections(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getAllowNonComponentCallers()
String
void setAllowNonComponentCallers(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getValidateAtmostOncePeriodInSeconds()
String
void setValidateAtmostOncePeriodInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getConnectionLeakTimeoutInSeconds()
String
void setConnectionLeakTimeoutInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getConnectionLeakReclaim()
String
void setConnectionLeakReclaim(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getConnectionCreationRetryAttempts()
String
void setConnectionCreationRetryAttempts(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getConnectionCreationRetryIntervalInSeconds()
String
void setConnectionCreationRetryIntervalInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@Min(value=-1L) @Min(value=-1L) String getStatementTimeoutInSeconds()
String
void setStatementTimeoutInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@Min(value=-1L) @Min(value=-1L) String getSlowQueryThresholdInSeconds()
String
void setSlowQueryThresholdInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getLazyConnectionEnlistment()
String
void setLazyConnectionEnlistment(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getLazyConnectionAssociation()
String
void setLazyConnectionAssociation(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getAssociateWithThread()
String
void setAssociateWithThread(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getPooling()
String
void setPooling(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getStatementCacheSize()
String
void setStatementCacheSize(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getStatementCacheType()
String
void setStatementCacheType(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getStatementLeakTimeoutInSeconds()
String
void setStatementLeakTimeoutInSeconds(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getStatementLeakReclaim()
void setStatementLeakReclaim(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getInitSql()
String
void setInitSql(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getMatchConnections()
String
void setMatchConnections(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getMaxConnectionUsageCount()
String
void setMaxConnectionUsageCount(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getWrapJdbcObjects()
String
void setWrapJdbcObjects(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getLogJdbcCalls()
String
void setLogJdbcCalls(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getSqlTraceListeners()
String
void setSqlTraceListeners(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
String getDescription()
String
void setDescription(String value) throws PropertyVetoException
value
- allowed object is
String
PropertyVetoException
@PropertyDesc(name="PortNumber",defaultValue="1527",dataType=Port.class,description="Port on which the database server listens for requests") @PropertyDesc(name="Password",defaultValue="APP",description="Password for connecting to the database") @PropertyDesc(name="User",defaultValue="APP",description="User name for connecting to the database") @PropertyDesc(name="serverName",defaultValue="localhost",description="Database server for this connection pool") @PropertyDesc(name="DatabaseName",defaultValue="sun-appserv-samples",description="Database for this connection pool.") @PropertyDesc(name="connectionAttributes",defaultValue=";create=true",description="connection attributes") List<Property> getProperty()
getProperty
in interface PropertyBag
@DuckTyped String getIdentity()
getIdentity
in interface Resource
getIdentity
in interface ResourcePool
Copyright © 2019. All rights reserved.