Methods Summary |
---|
public SecurityMapConfig | createSecurityMapConfig(java.lang.String name, java.lang.String backendPrincipalUsername, java.lang.String backendPrincipalPassword, java.lang.String[] principals, java.lang.String[] userGroups)At least one of 'principals' and 'userGroups' must be non-null.
|
public java.lang.String | getAssociateWithThread()associate-with-thread (boolean)
Associate a connection with the thread such that when the
same thread is in need of a connection, it can reuse the connection
already associated with that thread, thereby not incurring the overhead
of getting a connection from the pool. Default value is false.
|
public java.lang.String | getConnectionCreationRetryAttempts()connection-creation-retry-attempts (integer)
The number of attempts to create a new connection. Default is 0, which
implies no retries.
|
public java.lang.String | getConnectionCreationRetryIntervalInSeconds()connection-creation-retry-interval-in-seconds (integer)
The time interval between retries while attempting to create a connection
Default is 10 seconds. Effective when connection-creation-retry-attempts is
greater than 0.
|
public java.lang.String | getConnectionDefinitionName()Unique name, identifying one connection-definition in a
Resource Adapter. Currently this is ConnectionFactory type.
|
public java.lang.String | getConnectionLeakReclaim()connection-leak-reclaim (boolean)
If enabled, connection will be re-usable (put back to pool) after
connection-leak-timeout-in-seconds occurs. Default value is false.
|
public java.lang.String | getConnectionLeakTimeoutInSeconds()connection-leak-timeout-in-seconds (integer)
To aid user in detecting potential connection leaks by the application.
When a connection is not returned back to the pool by the application
within the specified period, it is assumed to be a potential leak and
stack trace of the caller will be logged. Default is 0 seconds, which
implies there is no leak detection, by default. A non-zero value turns
on leak tracing.
|
public boolean | getConnectionValidationRequired()Specifies if the connection that is about to
be returned is to be validated by the container.
|
public boolean | getFailAllConnections()Indicates if all connections in the pool must be closed
should a single connection fail validation. The default is
false. One attempt will be made to re-establish failed
connections.
|
public java.lang.String | getIdleTimeoutInSeconds()Maximum time in seconds, that a connection can remain idle in
the pool. After this time, the pool implementation can close
this connection. Note that this does not control connection
timeouts enforced at the database server side. Adminsitrators
are advised to keep this timeout shorter than the EIS
connection timeout (if such timeouts are configured on the
specific EIS), to prevent accumulation of unusable connection
in Application Server.
|
public java.lang.String | getLazyConnectionAssociation()lazy-connection-association (boolean)
Connections are lazily associated when an operation is performed on
them. Also they are disassociated when the transaction is completed
and a component method ends, which helps to reuse the physical
connections. Default value is false.
|
public java.lang.String | getLazyConnectionEnlistment()lazy-connection-enlistment (boolean)
Enlist a resource to the transaction only when it is actually used in
a method, which avoids enlistment of connections, that are not used,
in a transaction. This also prevents unnecessary enlistment of connections
cached in the calling components. Default value is false.
|
public java.lang.String | getMatchConnections()match-connections (boolean)
To switch on/off connection matching for the pool. It can be set to false if the
administrator knows that the connections in the pool
will always be homogeneous and hence a connection picked from the pool
need not be matched by the resource adapter. Default value is true.
|
public java.lang.String | getMaxConnectionUsageCount()max-connection-usage-count
When specified, connections will be re-used by the pool for the specified number
of times after which it will be closed. eg : To avoid statement-leaks.
Default value is 0, which implies the feature is not enabled.
|
public java.lang.String | getMaxPoolSize()Maximum number of conections that can be created.
|
public java.lang.String | getMaxWaitTimeInMillis()Amount of time the caller will wait before getting a
connection timeout. The default is 60 seconds. A value of 0
will force caller to wait indefinitely.
|
public java.lang.String | getPoolResizeQuantity()Number of connections to be removed when
idle-timeout-in-seconds timer expires. Connections that have
idled for longer than the timeout are candidates for removal.
When the pool size reaches steady-pool-size, the connection
removal stops.
|
public java.lang.String | getResourceAdapterName()Name of resource adapter. Name of .rar file is
taken as the unique name for the resource adapter.
|
public java.util.Map | getSecurityMapConfigMap()
|
public java.lang.String | getSteadyPoolSize()Minimum and initial number of connections maintained in the
pool.
|
public java.lang.String | getTransactionSupport()Indicates the level of transaction support that this pool
will have. Possible values are "XATransaction",
"LocalTransaction" and "NoTransaction". This attribute will
override that transaction support attribute in the Resource
Adapter in a downward compatible way, i.e it can support a
lower/equal transaction level than specified in the RA, but
not a higher level.
|
public java.lang.String | getValidateAtMostOncePeriodInSeconds()validate-atmost-once-period-in-seconds (integer)
Used to set the time-interval within which a connection is validated atmost once.
Default is 0 seconds, not enabled.
|
public void | removeSecurityMapConfig(java.lang.String name)Remove the specified SecurityMapConfig.
|
public void | setAssociateWithThread(java.lang.String associate)
|
public void | setConnectionCreationRetryAttempts(java.lang.String count)
|
public void | setConnectionCreationRetryIntervalInSeconds(java.lang.String seconds)
|
public void | setConnectionDefinitionName(java.lang.String value)See {@link #getConnectionDefinitionName}.
|
public void | setConnectionLeakReclaim(java.lang.String reclaim)
|
public void | setConnectionLeakTimeoutInSeconds(java.lang.String timeout)
|
public void | setConnectionValidationRequired(boolean required)See {@link #getConnectionValidationRequired}.
|
public void | setFailAllConnections(boolean value)See {@link #getFailAllConnections}.
|
public void | setIdleTimeoutInSeconds(java.lang.String value)See {@link #getIdleTimeoutInSeconds}.
|
public void | setLazyConnectionAssociation(java.lang.String associate)
|
public void | setLazyConnectionEnlistment(java.lang.String enlist)
|
public void | setMatchConnections(java.lang.String match)
|
public void | setMaxConnectionUsageCount(java.lang.String count)
|
public void | setMaxPoolSize(java.lang.String value)See {@link #getMaxPoolSize}.
|
public void | setMaxWaitTimeInMillis(java.lang.String value)See {@link #getMaxWaitTimeInMillis}.
|
public void | setPoolResizeQuantity(java.lang.String value)See {@link #getPoolResizeQuantity}.
|
public void | setResourceAdapterName(java.lang.String value)See {@link #getResourceAdapterName}.
|
public void | setSteadyPoolSize(java.lang.String value)See {@link #getSteadyPoolSize}.
|
public void | setTransactionSupport(java.lang.String value)See {@link #getTransactionSupport}.
|
public void | setValidateAtMostOncePeriodInSeconds(java.lang.String seconds)
|