Package | Description |
---|---|
org.jboss.jca.core.connectionmanager |
This package contains the connection manager implementation.
|
org.jboss.jca.core.connectionmanager.listener |
This package contains the connection listener implementation.
|
org.jboss.jca.core.connectionmanager.notx |
This package contains the non-tx connection manager implementation.
|
org.jboss.jca.core.connectionmanager.pool |
This package contains the connection pool implementation.
|
org.jboss.jca.core.connectionmanager.pool.api |
This package contains the connection pool api.
|
org.jboss.jca.core.connectionmanager.pool.mcp |
This package contains the managed connection pool implementations and the
factory to create one with.
|
org.jboss.jca.core.connectionmanager.pool.strategy |
This package contains the connection pool strategies.
|
org.jboss.jca.core.connectionmanager.pool.validator |
This package contains the connection validator logic.
|
org.jboss.jca.core.connectionmanager.tx |
This package contains the tx connection manager implementation.
|
Modifier and Type | Method and Description |
---|---|
ConnectionListener |
ConnectionManager.createConnectionListener(javax.resource.spi.ManagedConnection managedConnection,
ManagedConnectionPool mcp)
Create a managed connection listener for the managed connection.
|
Modifier and Type | Method and Description |
---|---|
ManagedConnectionPool |
ConnectionListener.getManagedConnectionPool()
Get the managed connection pool
|
ManagedConnectionPool |
AbstractConnectionListener.getManagedConnectionPool()
Get the managed connection pool
|
Constructor and Description |
---|
AbstractConnectionListener(ConnectionManager cm,
javax.resource.spi.ManagedConnection managedConnection,
Pool pool,
ManagedConnectionPool mcp,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy)
Creates a new instance of the listener that is responsible for
tracking the owned connection instance.
|
NoTxConnectionListener(ConnectionManager cm,
javax.resource.spi.ManagedConnection mc,
Pool pool,
ManagedConnectionPool mcp,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy)
Creates a new no-tx listener.
|
TxConnectionListener(ConnectionManager cm,
javax.resource.spi.ManagedConnection mc,
Pool pool,
ManagedConnectionPool mcp,
org.jboss.jca.common.api.metadata.common.FlushStrategy flushStrategy,
javax.transaction.xa.XAResource xaResource,
int xaResourceTimeout)
Creates a new tx listener.
|
Modifier and Type | Method and Description |
---|---|
ConnectionListener |
NoTxConnectionManagerImpl.createConnectionListener(javax.resource.spi.ManagedConnection managedConnection,
ManagedConnectionPool mcp)
Create a managed connection listener for the managed connection.
|
Modifier and Type | Method and Description |
---|---|
protected ManagedConnectionPool |
AbstractPool.getManagedConnectionPool(java.lang.Object key,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
Determine the correct pool for this request,
creates a new one when necessary.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.concurrent.ConcurrentMap<java.lang.Object,ManagedConnectionPool> |
AbstractPool.getManagedConnectionPools()
Get the managed connection pools.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPool.emptyManagedConnectionPool(ManagedConnectionPool pool)
Remove the matching managed connection pool if the pool is empty
|
Constructor and Description |
---|
PoolStatisticsImpl(int maxPoolSize,
java.util.concurrent.ConcurrentMap<java.lang.Object,ManagedConnectionPool> mcpPools)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
Pool.emptyManagedConnectionPool(ManagedConnectionPool pool)
Remove the matching managed connection pool if the pool is empty
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayBlockingQueueManagedConnectionPool
A managed connection pool implementation using ArrayBlockingQueue
|
class |
LeakDumperManagedConnectionPool
A managed connection pool which dumps any leaks at shutdown
|
class |
SemaphoreArrayListManagedConnectionPool
The internal pool implementation
|
Modifier and Type | Method and Description |
---|---|
ManagedConnectionPool |
ManagedConnectionPoolFactory.create(javax.resource.spi.ManagedConnectionFactory mcf,
ConnectionManager cm,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
PoolConfiguration pc,
Pool p)
Create a managed connection pool using the default implementation strategy
|
ManagedConnectionPool |
ManagedConnectionPoolFactory.create(java.lang.String strategy,
javax.resource.spi.ManagedConnectionFactory mcf,
ConnectionManager cm,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
PoolConfiguration pc,
Pool p)
Create a managed connection pool using a specific implementation strategy
|
Modifier and Type | Method and Description |
---|---|
void |
OnePool.emptyManagedConnectionPool(ManagedConnectionPool pool)
Remove the matching managed connection pool if the pool is empty
|
void |
ReauthPool.emptyManagedConnectionPool(ManagedConnectionPool pool)
There is no reason to empty the managed connection pool for reauth enabled
resource adapters, since all managed connections can change
its credentials
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionValidator.registerPool(ManagedConnectionPool mcp,
long interval)
Register pool for connection validation.
|
void |
ConnectionValidator.unregisterPool(ManagedConnectionPool mcp)
Unregister pool instance for connection validation.
|
Modifier and Type | Method and Description |
---|---|
ConnectionListener |
TxConnectionManagerImpl.createConnectionListener(javax.resource.spi.ManagedConnection mc,
ManagedConnectionPool mcp)
Create a managed connection listener for the managed connection.
|
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)