public class ConnectionFactoryImpl
extends org.datanucleus.store.connection.AbstractConnectionFactory
Modifier and Type | Class and Description |
---|---|
class |
ConnectionFactoryImpl.ManagedConnectionImpl
Implementation of a ManagedConnection for JSON.
|
Modifier and Type | Field and Description |
---|---|
static String |
STORE_JSON_URL |
Constructor and Description |
---|
ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr,
String resourceName)
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 static final String STORE_JSON_URL
public ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr, String resourceName)
storeMgr
- Store ManagerresourceName
- Name 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
- Any options for creating the connectionManagedConnection
Copyright © 2020. All rights reserved.