
public interface ConnectionManager extends org.jboss.jca.core.api.connectionmanager.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
|
org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager |
getCachedConnectionManager()
Gets cached connection manager
|
String |
getJndiName()
Get the JNDI name
|
Pool |
getPool()
Get the pool.
|
String |
getSecurityDomain()
Get the security domain.
|
org.jboss.security.SubjectFactory |
getSubjectFactory()
Get the subject factory
|
org.jboss.jca.core.spi.transaction.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(String value)
Set the JNDI name
|
void |
shutdown()
Shutdown
|
void |
unregisterAssociation(ConnectionListener cl,
Object c)
Unregister association.
|
associateManagedConnection, dissociateManagedConnection, returnManagedConnectionassociateConnection, inactiveConnectionCloseddisconnect, reconnect, transactionStartedPool getPool()
org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager getCachedConnectionManager()
int getAllocationRetry()
long getAllocationRetryWaitMillis()
String getJndiName()
void setJndiName(String value)
value - The valueString getSecurityDomain()
org.jboss.security.SubjectFactory getSubjectFactory()
void unregisterAssociation(ConnectionListener cl, 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()
org.jboss.jca.core.spi.transaction.TransactionIntegration getTransactionIntegration()
boolean isSharable()
boolean isEnlistment()
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)