|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Pool

A pool.
| Method Summary | |
|---|---|
void |
emptyManagedConnectionPool(ManagedConnectionPool pool)
Remove the matching managed connection pool if the pool is empty |
ConnectionListener |
getConnection(Transaction trackByTransaction,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
Get a connection |
CoreLogger |
getLogger()
Get the logger |
javax.resource.spi.ManagedConnectionFactory |
getManagedConnectionFactory()
Retrieve the managed connection factory for this pool. |
void |
returnConnection(ConnectionListener cl,
boolean kill)
Return a connection |
void |
setConnectionListenerFactory(ConnectionListenerFactory clf)
Set the connection listener factory. |
void |
setName(String poolName)
Sets pool name. |
void |
shutdown()
Shutdown the pool |
| Methods inherited from interface org.jboss.jca.core.api.connectionmanager.pool.Pool |
|---|
flush, flush, getName, getStatistics, testConnection |
| Method Detail |
|---|
void setName(String poolName)
poolName - pool namejavax.resource.spi.ManagedConnectionFactory getManagedConnectionFactory()
void setConnectionListenerFactory(ConnectionListenerFactory clf)
clf - the connection event listener factory
ConnectionListener getConnection(Transaction trackByTransaction,
Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
throws javax.resource.ResourceException
trackByTransaction - for transaction stickinesssubject - the subject for connectioncri - the connection request information
javax.resource.ResourceException - for any error
void returnConnection(ConnectionListener cl,
boolean kill)
throws javax.resource.ResourceException
cl - the connection event listener wrapping the connectionkill - whether to destroy the managed connection
javax.resource.ResourceException - for any errorvoid shutdown()
void emptyManagedConnectionPool(ManagedConnectionPool pool)
pool - The poolCoreLogger getLogger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||