org.jboss.jca.core.connectionmanager.pool.api
Interface PrefillPool

All Superinterfaces:
org.jboss.jca.core.api.connectionmanager.pool.Pool
All Known Implementing Classes:
AbstractPrefillPool, OnePool, PoolBySubject

public interface PrefillPool
extends Pool

Prefill pool allows for prefilling connection pools.

Author:
Weston Price, Jesper Pedersen

Method Summary
 void prefill(Subject subject, javax.resource.spi.ConnectionRequestInfo cri, boolean noTxnSeperatePool)
          Prefill the connection pool
 
Methods inherited from interface org.jboss.jca.core.connectionmanager.pool.api.Pool
emptyManagedConnectionPool, getConnection, getLogger, getManagedConnectionFactory, returnConnection, setConnectionListenerFactory, setName, shutdown
 
Methods inherited from interface org.jboss.jca.core.api.connectionmanager.pool.Pool
flush, flush, getName, getStatistics, testConnection
 

Method Detail

prefill

void prefill(Subject subject,
             javax.resource.spi.ConnectionRequestInfo cri,
             boolean noTxnSeperatePool)
Prefill the connection pool

Parameters:
subject - the subject the subject
cri - the connection request info
noTxnSeperatePool - whether or not we are seperating non transaction and transaction pools


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)