public class ManagedConnectionPoolFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_IMPLEMENTATION
Default implementation
|
static java.lang.String |
EXPERIMENTAL_IMPLEMENTATION
Experimental implementation
|
Constructor and Description |
---|
ManagedConnectionPoolFactory()
Constructor
|
Modifier and Type | Method and Description |
---|---|
ManagedConnectionPool |
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 |
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
|
java.lang.String |
getDefaultImplementation()
Get the default implementation
|
boolean |
isOverride()
Is override
|
public static final java.lang.String DEFAULT_IMPLEMENTATION
public static final java.lang.String EXPERIMENTAL_IMPLEMENTATION
public java.lang.String getDefaultImplementation()
public boolean isOverride()
public ManagedConnectionPool create(javax.resource.spi.ManagedConnectionFactory mcf, ConnectionManager cm, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cri, PoolConfiguration pc, Pool p) throws java.lang.Throwable
mcf
- the managed connection factorycm
- the connection managersubject
- the subjectcri
- the connection request infopc
- the pool configurationp
- The pooljava.lang.Throwable
- Thrown in case of an errorpublic ManagedConnectionPool 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) throws java.lang.Throwable
strategy
- Fullt qualified class name for the managed connection pool strategymcf
- the managed connection factorycm
- the connection managersubject
- the subjectcri
- the connection request infopc
- the pool configurationp
- The pooljava.lang.Throwable
- Thrown in case of an errorCopyright © 2014 IronJacamar (http://www.ironjacamar.org)