@ResourceTypeOrder(deploymentOrder=JDBC_POOL)
@UniqueResourceNameConstraint(message="{resourcename.isnot.unique}",
payload=JdbcConnectionPool.class)
public interface JdbcConnectionPool
extends org.jvnet.hk2.config.ConfigBeanProxy, com.sun.enterprise.config.serverbeans.Resource, com.sun.enterprise.config.serverbeans.ResourcePool, org.jvnet.hk2.config.types.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.
|
@Min(value=0L) @Max(value=2147483647L) String |
getConnectionCreationRetryAttempts()
Gets the value of the connectionCreationRetryAttempts property.
|
@Min(value=0L) @Max(value=2147483647L) String |
getConnectionCreationRetryIntervalInSeconds()
Gets the value of the connectionCreationRetryIntervalInSeconds property.
|
String |
getConnectionLeakReclaim()
Gets the value of the connectionLeakReclaim property.
|
@Min(value=0L) @Max(value=2147483647L) 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() |
@Min(value=0L) @Max(value=2147483647L) 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 |
getMatchConnections()
Gets the value of the matchConnections property.
|
@Min(value=0L) @Max(value=2147483647L) String |
getMaxConnectionUsageCount()
Gets the value of the maxConnectionUsageCount property.
|
@Min(value=1L) @Max(value=2147483647L) String |
getMaxPoolSize()
Gets the value of the maxPoolSize property.
|
@Min(value=0L) @Max(value=2147483647L) 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.
|
@Min(value=1L) @Max(value=2147483647L) String |
getPoolResizeQuantity()
Gets the value of the poolResizeQuantity property.
|
List<org.jvnet.hk2.config.types.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.
|
String |
getSqlTraceListeners()
Gets the value of the SqlTraceListeners property.
|
@Min(value=0L) @Max(value=2147483647L) String |
getStatementCacheSize()
Gets the value of the statementCacheSize property.
|
String |
getStatementCacheType()
Gets the value of the statementCacheType property.
|
String |
getStatementLeakReclaim() |
@Min(value=0L) @Max(value=2147483647L) String |
getStatementLeakTimeoutInSeconds() |
@Min(value=-1L) String |
getStatementTimeoutInSeconds()
Gets the value of the statementTimeoutInSeconds property.
|
@Min(value=0L) @Max(value=2147483647L) String |
getSteadyPoolSize()
Gets the value of the steadyPoolSize property.
|
@Pattern(regexp="(read-uncommitted|read-committed|repeatable-read|serializable)") String |
getTransactionIsolationLevel()
Gets the value of the transactionIsolationLevel property.
|
@Min(value=0L) @Max(value=2147483647L) 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 |
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 |
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, setPinggetDeploymentOrder, getObjectType, setDeploymentOrder, setObjectTypeString getDatasourceClassname()
Stringvoid setDatasourceClassname(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getDriverClassname()
Stringvoid setDriverClassname(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@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()
Stringvoid setResType(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getSteadyPoolSize()
Stringvoid setSteadyPoolSize(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=1L) @Max(value=2147483647L) @Min(value=1L) @Max(value=2147483647L) String getMaxPoolSize()
Stringvoid setMaxPoolSize(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getMaxWaitTimeInMillis()
Stringvoid setMaxWaitTimeInMillis(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=1L) @Max(value=2147483647L) @Min(value=1L) @Max(value=2147483647L) String getPoolResizeQuantity()
Stringvoid setPoolResizeQuantity(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getIdleTimeoutInSeconds()
Stringvoid setIdleTimeoutInSeconds(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Pattern(regexp="(read-uncommitted|read-committed|repeatable-read|serializable)") @Pattern(regexp="(read-uncommitted|read-committed|repeatable-read|serializable)") String getTransactionIsolationLevel()
Stringvoid setTransactionIsolationLevel(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getIsIsolationLevelGuaranteed()
Stringvoid setIsIsolationLevelGuaranteed(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getIsConnectionValidationRequired()
Stringvoid setIsConnectionValidationRequired(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Pattern(regexp="(auto-commit|meta-data|custom-validation|table)") @Pattern(regexp="(auto-commit|meta-data|custom-validation|table)") String getConnectionValidationMethod()
Stringvoid setConnectionValidationMethod(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getValidationTableName()
Stringvoid setValidationTableName(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getValidationClassname()
Stringvoid setValidationClassname(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getFailAllConnections()
Stringvoid setFailAllConnections(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getNonTransactionalConnections()
Stringvoid setNonTransactionalConnections(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getAllowNonComponentCallers()
Stringvoid setAllowNonComponentCallers(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getValidateAtmostOncePeriodInSeconds()
Stringvoid setValidateAtmostOncePeriodInSeconds(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getConnectionLeakTimeoutInSeconds()
Stringvoid setConnectionLeakTimeoutInSeconds(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getConnectionLeakReclaim()
Stringvoid setConnectionLeakReclaim(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getConnectionCreationRetryAttempts()
Stringvoid setConnectionCreationRetryAttempts(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getConnectionCreationRetryIntervalInSeconds()
Stringvoid setConnectionCreationRetryIntervalInSeconds(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=-1L) @Min(value=-1L) String getStatementTimeoutInSeconds()
Stringvoid setStatementTimeoutInSeconds(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getLazyConnectionEnlistment()
Stringvoid setLazyConnectionEnlistment(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getLazyConnectionAssociation()
Stringvoid setLazyConnectionAssociation(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getAssociateWithThread()
Stringvoid setAssociateWithThread(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getPooling()
Stringvoid setPooling(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getStatementCacheSize()
Stringvoid setStatementCacheSize(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getStatementCacheType()
Stringvoid setStatementCacheType(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getStatementLeakTimeoutInSeconds()
Stringvoid setStatementLeakTimeoutInSeconds(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getStatementLeakReclaim()
void setStatementLeakReclaim(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getInitSql()
Stringvoid setInitSql(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getMatchConnections()
Stringvoid setMatchConnections(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@Min(value=0L) @Max(value=2147483647L) @Min(value=0L) @Max(value=2147483647L) String getMaxConnectionUsageCount()
Stringvoid setMaxConnectionUsageCount(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getWrapJdbcObjects()
Stringvoid setWrapJdbcObjects(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getSqlTraceListeners()
Stringvoid setSqlTraceListeners(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoExceptionString getDescription()
Stringvoid setDescription(String value) throws PropertyVetoException
value - allowed object is
StringPropertyVetoException@PropertyDesc(name="PortNumber",defaultValue="1527",dataType=org.glassfish.config.support.datatypes.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<org.jvnet.hk2.config.types.Property> getProperty()
getProperty in interface org.jvnet.hk2.config.types.PropertyBag@DuckTyped String getIdentity()
getIdentity in interface com.sun.enterprise.config.serverbeans.ResourcegetIdentity in interface com.sun.enterprise.config.serverbeans.ResourcePoolCopyright © 2017–2020 Eclipse Foundation. All rights reserved.