public class ConnectionFactoryImpl
extends org.datanucleus.store.connection.AbstractConnectionFactory
Constructor and Description |
---|
ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr,
String resourceName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.datanucleus.store.connection.ManagedConnection |
createManagedConnection(org.datanucleus.ExecutionContext ec,
Map options)
Method to create a new ManagedConnection.
|
protected void |
initialiseDataSource()
Method to initialise the DataSource used by this ConnectionFactory.
|
public ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr, String resourceName)
storeMgr
- Store ManagerresourceName
- either tx or nontxpublic void close()
close
in interface org.datanucleus.store.connection.ConnectionFactory
close
in class org.datanucleus.store.connection.AbstractConnectionFactory
protected void initialiseDataSource()
public org.datanucleus.store.connection.ManagedConnection createManagedConnection(org.datanucleus.ExecutionContext ec, Map options)
ec
- the object that is bound the connection during its lifecycle (if for a PM/EM operation)options
- Options for creating the connection (optional)Copyright © 2019. All rights reserved.