org.jboss.jca.core.connectionmanager.pool.mcp
Class ManagedConnectionPoolFactory

java.lang.Object
  extended by org.jboss.jca.core.connectionmanager.pool.mcp.ManagedConnectionPoolFactory

public class ManagedConnectionPoolFactory
extends Object

Factory to create a managed connection pool

Author:
Jesper Pedersen

Constructor Summary
ManagedConnectionPoolFactory()
          Constructor
 
Method Summary
 ManagedConnectionPool create(javax.resource.spi.ManagedConnectionFactory mcf, ConnectionListenerFactory clf, Subject subject, javax.resource.spi.ConnectionRequestInfo cri, org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc, Pool p)
          Create a managed connection pool using the default implementation strategy
 ManagedConnectionPool create(String strategy, javax.resource.spi.ManagedConnectionFactory mcf, ConnectionListenerFactory clf, Subject subject, javax.resource.spi.ConnectionRequestInfo cri, org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc, Pool p)
          Create a managed connection pool using a specific implementation strategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedConnectionPoolFactory

public ManagedConnectionPoolFactory()
Constructor

Method Detail

create

public ManagedConnectionPool create(javax.resource.spi.ManagedConnectionFactory mcf,
                                    ConnectionListenerFactory clf,
                                    Subject subject,
                                    javax.resource.spi.ConnectionRequestInfo cri,
                                    org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc,
                                    Pool p)
                             throws Throwable
Create a managed connection pool using the default implementation strategy

Parameters:
mcf - the managed connection factory
clf - the connection listener factory
subject - the subject
cri - the connection request info
pc - the pool configuration
p - The pool
Returns:
The initialized managed connection pool
Throws:
Throwable - Thrown in case of an error

create

public ManagedConnectionPool create(String strategy,
                                    javax.resource.spi.ManagedConnectionFactory mcf,
                                    ConnectionListenerFactory clf,
                                    Subject subject,
                                    javax.resource.spi.ConnectionRequestInfo cri,
                                    org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc,
                                    Pool p)
                             throws Throwable
Create a managed connection pool using a specific implementation strategy

Parameters:
strategy - Fullt qualified class name for the managed connection pool strategy
mcf - the managed connection factory
clf - the connection listener factory
subject - the subject
cri - the connection request info
pc - the pool configuration
p - The pool
Returns:
The initialized managed connection pool
Throws:
Throwable - Thrown in case of an error


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)