public class ConnectionFactoryImpl
extends org.datanucleus.store.connection.AbstractConnectionFactory
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionFactoryImpl.ManagedConnectionImpl |
| Constructor and Description |
|---|
ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr,
String resourceType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.datanucleus.store.connection.ManagedConnection |
createManagedConnection(org.datanucleus.ExecutionContext ec,
Map options)
Obtain a connection from the Factory.
|
public ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr,
String resourceType)
storeMgr - Store ManagerresourceType - Type of resource (tx, nontx)public org.datanucleus.store.connection.ManagedConnection createManagedConnection(org.datanucleus.ExecutionContext ec,
Map options)
ec - the pool that is bound the connection during its lifecycle (or null)options - Options for creating the connectionManagedConnectionCopyright © 2016. All rights reserved.