com.sun.appserv.management.config
Interface JDBCConnectionPoolConfig
- All Superinterfaces:
- AMX, AMXConfig, AMXMBeanLogging, ConfigElement, Description, NamedConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess, RefConfigReferent, ResourceRefConfigReferent
public interface JDBCConnectionPoolConfig
- extends NamedConfigElement, Description, PropertiesAccess, ResourceRefConfigReferent
Configuration for the <jdbc-connection-pool> element.
Fields inherited from interface com.sun.appserv.management.base.AMX |
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME |
J2EE_TYPE
static final String J2EE_TYPE
- The j2eeType as returned by
AMX.getJ2EEType()
.
- See Also:
- Constant Field Values
getConnectionValidationMethod
String getConnectionValidationMethod()
setConnectionValidationMethod
void setConnectionValidationMethod(String value)
getDatasourceClassname
String getDatasourceClassname()
setDatasourceClassname
void setDatasourceClassname(String value)
getFailAllConnections
boolean getFailAllConnections()
setFailAllConnections
void setFailAllConnections(boolean value)
getIdleTimeoutInSeconds
String getIdleTimeoutInSeconds()
setIdleTimeoutInSeconds
void setIdleTimeoutInSeconds(String value)
getIsConnectionValidationRequired
boolean getIsConnectionValidationRequired()
setIsConnectionValidationRequired
void setIsConnectionValidationRequired(boolean value)
getIsIsolationLevelGuaranteed
boolean getIsIsolationLevelGuaranteed()
setIsIsolationLevelGuaranteed
void setIsIsolationLevelGuaranteed(boolean value)
getMaxPoolSize
String getMaxPoolSize()
setMaxPoolSize
void setMaxPoolSize(String value)
getMaxWaitTimeInMillis
String getMaxWaitTimeInMillis()
setMaxWaitTimeInMillis
void setMaxWaitTimeInMillis(String value)
getPoolResizeQuantity
String getPoolResizeQuantity()
setPoolResizeQuantity
void setPoolResizeQuantity(String value)
getResType
String getResType()
setResType
void setResType(String value)
getSteadyPoolSize
String getSteadyPoolSize()
setSteadyPoolSize
void setSteadyPoolSize(String value)
getTransactionIsolationLevel
String getTransactionIsolationLevel()
setTransactionIsolationLevel
void setTransactionIsolationLevel(String value)
- See
IsolationValues
.
getValidationTableName
String getValidationTableName()
setValidationTableName
void setValidationTableName(String value)
getNonTransactionalConnections
boolean getNonTransactionalConnections()
- A pool with this property set to true returns
non-transactional connections. This connection does not get
automatically enlisted with the transaction manager.
- Since:
- AppServer 9.0
setNonTransactionalConnections
void setNonTransactionalConnections(boolean enabled)
- Since:
- AppServer 9.0
- See Also:
getNonTransactionalConnections()
getAllowNonComponentCallers
boolean getAllowNonComponentCallers()
- A pool with this property set to true, can be used by
non-J2EE components (i.e components other than EJBs or
Servlets). The returned connection is enlisted automatically
with the transaction context obtained from the transaction
manager. This property is to enable the pool to be used by
non-component callers such as ServletFilters, Lifecycle
modules, and 3rd party persistence managers. Standard J2EE
components can continue to use such pools. Connections
obtained by non-component callers are not automatically
cleaned at the end of a transaction by the container. They
need to be explicitly closed by the the caller.
- Since:
- AppServer 9.0
setAllowNonComponentCallers
void setAllowNonComponentCallers(boolean enabled)
- Since:
- AppServer 9.0
- See Also:
getAllowNonComponentCallers()
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.