org.cumulus4j.store
Class Cumulus4jConnectionFactory
java.lang.Object
org.datanucleus.store.connection.AbstractConnectionFactory
org.cumulus4j.store.Cumulus4jConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory
public class Cumulus4jConnectionFactory
- extends AbstractConnectionFactory
Connection factory implementation for Cumulus4j-connections.
A "connection" in Cumulus4J is a PersistenceManager
for the backing datastore.
When the transaction in Cumulus4J is committed, the equivalent transaction is committed in the PM(s) of the
backing datastore(s).
How to configure a connection factory is documented on
Persistence API.
- Author:
- Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
Cumulus4jConnectionFactory
public Cumulus4jConnectionFactory(StoreManager storeMgr,
String resourceType)
getPMFData
public PersistenceManagerFactory getPMFData()
getPMFIndex
public PersistenceManagerFactory getPMFIndex()
createManagedConnection
public ManagedConnection createManagedConnection(Object poolKey,
Map transactionOptions)
Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.