public class NoTxConnectionManagerImpl extends AbstractConnectionManager implements NoTxConnectionManager
trace
Constructor and Description |
---|
NoTxConnectionManagerImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ConnectionListener |
createConnectionListener(javax.resource.spi.ManagedConnection managedConnection,
java.lang.Object context)
Create a managed connection listener for the managed connection.
|
protected CoreLogger |
getLogger()
Get the logger.
|
TransactionIntegration |
getTransactionIntegration()
Get the transaction integration.
|
boolean |
isTransactional()
Determine whether there connection is a transactional.
|
void |
transactionStarted(java.util.Collection<ConnectionRecord> conns)
Notification of transaction started
|
allocateConnection, disconnect, disconnectManagedConnection, getAllocationRetry, getAllocationRetryWaitMillis, getCachedConnectionManager, getFlushStrategy, getJndiName, getManagedConnection, getManagedConnection, getManagedConnectionFactory, getPool, getSecurityDomain, getSubjectFactory, managedConnectionDisconnected, managedConnectionReconnected, reconnect, reconnectManagedConnection, returnManagedConnection, setAllocationRetry, setAllocationRetryWaitMillis, setCachedConnectionManager, setFlushStrategy, setJndiName, setPool, setSecurityDomain, setSubjectFactory, shutdown, unregisterAssociation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllocationRetry, getAllocationRetryWaitMillis, getCachedConnectionManager, getJndiName, getPool, getSecurityDomain, getSubjectFactory, setJndiName, shutdown, unregisterAssociation
returnManagedConnection
disconnect, reconnect
public NoTxConnectionManagerImpl()
protected CoreLogger getLogger()
getLogger
in class AbstractConnectionManager
public ConnectionListener createConnectionListener(javax.resource.spi.ManagedConnection managedConnection, java.lang.Object context) throws javax.resource.ResourceException
createConnectionListener
in interface ConnectionListenerFactory
managedConnection
- the managed connectioncontext
- a context object used by the pooljavax.resource.ResourceException
- for any errorpublic void transactionStarted(java.util.Collection<ConnectionRecord> conns) throws javax.transaction.SystemException
AbstractConnectionManager
transactionStarted
in class AbstractConnectionManager
conns
- the connectionsjavax.transaction.SystemException
- for any errorpublic TransactionIntegration getTransactionIntegration()
AbstractConnectionManager
getTransactionIntegration
in interface ConnectionListenerFactory
getTransactionIntegration
in class AbstractConnectionManager
public boolean isTransactional()
AbstractConnectionManager
isTransactional
in interface ConnectionListenerFactory
isTransactional
in class AbstractConnectionManager
Copyright ? 2008-2009 Red Hat Middleware LLC (http://www.jboss.com/)