Java EE 5 SDK

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.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
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
 
Fields inherited from interface com.sun.appserv.management.config.Description
DESCRIPTION_KEY
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Method Summary
 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).
 String getConnectionValidationMethod()
           
 String getDatasourceClassname()
           
 boolean getFailAllConnections()
           
 String getIdleTimeoutInSeconds()
           
 boolean getIsConnectionValidationRequired()
           
 boolean getIsIsolationLevelGuaranteed()
           
 String getMaxPoolSize()
           
 String getMaxWaitTimeInMillis()
           
 boolean getNonTransactionalConnections()
          A pool with this property set to true returns non-transactional connections.
 String getPoolResizeQuantity()
           
 String getResType()
           
 String getSteadyPoolSize()
           
 String getTransactionIsolationLevel()
           
 String getValidationTableName()
           
 void setAllowNonComponentCallers(boolean enabled)
           
 void setConnectionValidationMethod(String value)
           
 void setDatasourceClassname(String value)
           
 void setFailAllConnections(boolean value)
           
 void setIdleTimeoutInSeconds(String value)
           
 void setIsConnectionValidationRequired(boolean value)
           
 void setIsIsolationLevelGuaranteed(boolean value)
           
 void setMaxPoolSize(String value)
           
 void setMaxWaitTimeInMillis(String value)
           
 void setNonTransactionalConnections(boolean enabled)
           
 void setPoolResizeQuantity(String value)
           
 void setResType(String value)
           
 void setSteadyPoolSize(String value)
           
 void setTransactionIsolationLevel(String value)
          See IsolationValues.
 void setValidationTableName(String value)
           
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.config.Description
getDescription, setDescription
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

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()

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.