|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConnectorConnectionPoolConfig
Configuration for the <connector-connection-pool> element.
connector-connection-pool defines configuration used to create and manage a pool of connections to a EIS. Pool definition is named, and can be referred to by multiple connector-resource elements (See connector-resource).
Each named pool definition results in a pool instantiated at server start-up. Pool is populated when accessed for the first time. If two or more connector-resource elements point to the same connector-connection-pool element, they are using the same pool of connections, at run time.
There can be more than one pool for one connection-definition in one resource-adapter.
| 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 |
| Fields inherited from interface com.sun.appserv.management.base.Container |
|---|
ATTR_CONTAINEE_J2EE_TYPES |
| Method Summary | |
|---|---|
SecurityMapConfig |
createSecurityMapConfig(String name,
String backendPrincipalUsername,
String backendPrincipalPassword,
String[] principals,
String[] userGroups)
At least one of 'principals' and 'userGroups' must be non-null. |
String |
getConnectionDefinitionName()
Unique name, identifying one connection-definition in a Resource Adapter. |
boolean |
getConnectionValidationRequired()
Specifies if the connection that is about to be returned is to be validated by the container. |
boolean |
getFailAllConnections()
Indicates if all connections in the pool must be closed should a single connection fail validation. |
String |
getIdleTimeoutInSeconds()
Maximum time in seconds, that a connection can remain idle in the pool. |
String |
getMaxPoolSize()
Maximum number of conections that can be created. |
String |
getMaxWaitTimeInMillis()
Amount of time the caller will wait before getting a connection timeout. |
String |
getPoolResizeQuantity()
Number of connections to be removed when idle-timeout-in-seconds timer expires. |
String |
getResourceAdapterName()
Name of resource adapter. |
Map<String,SecurityMapConfig> |
getSecurityMapConfigMap()
|
String |
getSteadyPoolSize()
Minimum and initial number of connections maintained in the pool. |
String |
getTransactionSupport()
Indicates the level of transaction support that this pool will have. |
void |
removeSecurityMapConfig(String name)
Remove the specified SecurityMapConfig. |
void |
setConnectionDefinitionName(String value)
See getConnectionDefinitionName(). |
void |
setConnectionValidationRequired(boolean required)
See getConnectionValidationRequired(). |
void |
setFailAllConnections(boolean value)
See getFailAllConnections(). |
void |
setIdleTimeoutInSeconds(String value)
See getIdleTimeoutInSeconds(). |
void |
setMaxPoolSize(String value)
See getMaxPoolSize(). |
void |
setMaxWaitTimeInMillis(String value)
See getMaxWaitTimeInMillis(). |
void |
setPoolResizeQuantity(String value)
See getPoolResizeQuantity(). |
void |
setResourceAdapterName(String value)
See getResourceAdapterName(). |
void |
setSteadyPoolSize(String value)
See getSteadyPoolSize(). |
void |
setTransactionSupport(String value)
See getTransactionSupport(). |
| 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 |
| Methods inherited from interface com.sun.appserv.management.base.Container |
|---|
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap |
| Field Detail |
|---|
static final String J2EE_TYPE
AMX.getJ2EEType().
| Method Detail |
|---|
boolean getConnectionValidationRequired()
void setConnectionValidationRequired(boolean required)
getConnectionValidationRequired().
String getConnectionDefinitionName()
void setConnectionDefinitionName(String value)
getConnectionDefinitionName().
boolean getFailAllConnections()
void setFailAllConnections(boolean value)
getFailAllConnections().
String getIdleTimeoutInSeconds()
void setIdleTimeoutInSeconds(String value)
getIdleTimeoutInSeconds().
String getMaxPoolSize()
void setMaxPoolSize(String value)
getMaxPoolSize().
String getMaxWaitTimeInMillis()
void setMaxWaitTimeInMillis(String value)
getMaxWaitTimeInMillis().
String getPoolResizeQuantity()
void setPoolResizeQuantity(String value)
getPoolResizeQuantity().
String getResourceAdapterName()
void setResourceAdapterName(String value)
getResourceAdapterName().
String getSteadyPoolSize()
void setSteadyPoolSize(String value)
getSteadyPoolSize().
String getTransactionSupport()
TransactionSupportValuesvoid setTransactionSupport(String value)
getTransactionSupport().
Map<String,SecurityMapConfig> getSecurityMapConfigMap()
SecurityMapConfig createSecurityMapConfig(String name,
String backendPrincipalUsername,
String backendPrincipalPassword,
String[] principals,
String[] userGroups)
void removeSecurityMapConfig(String name)
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.