Package | Description |
---|---|
org.datanucleus.store.connection |
Package defining the connection to the datastore.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnectionFactory
Abstract implementation of a ConnectionFactory for a DataNucleus supported datastore.
|
Modifier and Type | Method and Description |
---|---|
ConnectionFactory |
ConnectionManager.lookupConnectionFactory(String name)
Method to lookup a connection factory and create it if not yet existing.
|
ConnectionFactory |
ConnectionManagerImpl.lookupConnectionFactory(String name)
Method to lookup a connection factory and create it if not yet existing.
|
Modifier and Type | Method and Description |
---|---|
ManagedConnection |
ConnectionManager.allocateConnection(ConnectionFactory factory,
ExecutionContext ec,
Transaction tx,
Map options)
Allocate a connection using the specified factory (unless we already have one cached for the ExecutionContext).
|
ManagedConnection |
ConnectionManagerImpl.allocateConnection(ConnectionFactory factory,
ExecutionContext ec,
Transaction transaction,
Map options)
Method to return a connection for this ExecutionContext.
|
void |
ConnectionManager.closeAllConnections(ConnectionFactory factory,
ExecutionContext ec)
Method to close all pooled connections for the specified key of the specified factory.
|
void |
ConnectionManagerImpl.closeAllConnections(ConnectionFactory factory,
ExecutionContext ec)
Method to close all pooled connections for the specified key of the specified factory.
|
void |
ConnectionManager.registerConnectionFactory(String name,
ConnectionFactory factory)
Method to register a connection factory
|
void |
ConnectionManagerImpl.registerConnectionFactory(String name,
ConnectionFactory factory)
Method to register a connection factory under a name.
|
Copyright © 2015. All rights reserved.