Package org.datanucleus.store.excel
Class ConnectionFactoryImpl
- java.lang.Object
-
- org.datanucleus.store.connection.AbstractConnectionFactory
-
- org.datanucleus.store.excel.ConnectionFactoryImpl
-
- All Implemented Interfaces:
org.datanucleus.store.connection.ConnectionFactory
public class ConnectionFactoryImpl extends org.datanucleus.store.connection.AbstractConnectionFactory
Implementation of a ConnectionFactory for Excel documents.
-
-
Constructor Summary
Constructors Constructor Description ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr, String resourceType)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.datanucleus.store.connection.ManagedConnection
createManagedConnection(org.datanucleus.ExecutionContext ec, Map options)
Obtain a connection from the Factory.
-
-
-
Constructor Detail
-
ConnectionFactoryImpl
public ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr, String resourceType)
Constructor.- Parameters:
storeMgr
- Store ManagerresourceType
- Type of resource (tx, nontx)
-
-
Method Detail
-
createManagedConnection
public org.datanucleus.store.connection.ManagedConnection createManagedConnection(org.datanucleus.ExecutionContext ec, Map options)
Obtain a connection from the Factory. The connection will be enlisted within the transaction associated to the ExecutionContext- Parameters:
ec
- the pool that is bound the connection during its lifecycle (or null)options
- options for creating the connection- Returns:
- the
ManagedConnection
-
-