| java.lang.Object org.jpox.ConnectionFactoryRegistry
ConnectionFactoryRegistry | public class ConnectionFactoryRegistry (Code) | | Registry for connection factories for this ObjectManagerFactory.
Will typically have entries for things like "jdbc/nontx", "jdbc/tx", etc
version: $Revision: 1.9 $ |
ConnectionFactoryRegistry | public ConnectionFactoryRegistry(OMFContext ctx)(Code) | | Constructor.
Parameters: ctx - OMFContext |
lookupConnectionFactory | public ConnectionFactory lookupConnectionFactory(String name)(Code) | | Method to lookup a connection factory and create it if not yet existing.
Parameters: name - The lookup name "e.g "jdbc/tx" The connection factory |
registerConnectionFactory | public void registerConnectionFactory(String name, ConnectionFactory factory)(Code) | | Method to register a connection factory
Parameters: name - The lookup name "e.g "jdbc/tx" Parameters: factory - The connection factory |
|
|