public interface ConnectionManager extends ConnectionManager, ConnectionCacheListener
ConnectionCacheListener
Modifier and Type | Method and Description |
---|---|
ConnectionListener |
createConnectionListener(javax.resource.spi.ManagedConnection managedConnection,
ManagedConnectionPool mcp)
Create a managed connection listener for the managed connection.
|
int |
getAllocationRetry()
Get the number of allocation retries
|
long |
getAllocationRetryWaitMillis()
Get the wait time between each allocation retry
|
CachedConnectionManager |
getCachedConnectionManager()
Gets cached connection manager
|
java.lang.String |
getJndiName()
Get the JNDI name
|
Pool |
getPool()
Get the pool.
|
java.lang.String |
getSecurityDomain()
Get the security domain.
|
org.jboss.security.SubjectFactory |
getSubjectFactory()
Get the subject factory
|
TransactionIntegration |
getTransactionIntegration()
Get the transaction integration.
|
boolean |
isEnlistment()
Is enlistment
|
boolean |
isSharable()
Is sharable
|
boolean |
isTransactional()
Determine whether there connection is a transactional.
|
void |
setJndiName(java.lang.String value)
Set the JNDI name
|
void |
shutdown()
Shutdown
|
void |
unregisterAssociation(ConnectionListener cl,
java.lang.Object c)
Unregister association.
|
associateManagedConnection, dissociateManagedConnection, returnManagedConnection
associateConnection, inactiveConnectionClosed
disconnect, reconnect, transactionStarted
Pool getPool()
CachedConnectionManager getCachedConnectionManager()
int getAllocationRetry()
long getAllocationRetryWaitMillis()
java.lang.String getJndiName()
void setJndiName(java.lang.String value)
value
- The valuejava.lang.String getSecurityDomain()
org.jboss.security.SubjectFactory getSubjectFactory()
void unregisterAssociation(ConnectionListener cl, java.lang.Object c)
cl
- connection listenerc
- connectionvoid shutdown()
ConnectionListener createConnectionListener(javax.resource.spi.ManagedConnection managedConnection, ManagedConnectionPool mcp) throws javax.resource.ResourceException
managedConnection
- the managed connectionmcp
- the managed connection pooljavax.resource.ResourceException
- for any errorboolean isTransactional()
TransactionIntegration getTransactionIntegration()
boolean isSharable()
boolean isEnlistment()
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)