Package org.nuxeo.ecm.core.storage.sql
Class NuxeoEhcacheTransactionManagerLookup
java.lang.Object
org.nuxeo.ecm.core.storage.sql.NuxeoEhcacheTransactionManagerLookup
- All Implemented Interfaces:
net.sf.ehcache.transaction.manager.TransactionManagerLookup
public class NuxeoEhcacheTransactionManagerLookup
extends Object
implements net.sf.ehcache.transaction.manager.TransactionManagerLookup
Help ehcache to find the Nuxeo transaction manager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManagervoidinit()voidregister(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery) voidsetProperties(Properties properties) voidunregister(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
-
Constructor Details
-
NuxeoEhcacheTransactionManagerLookup
public NuxeoEhcacheTransactionManagerLookup()
-
-
Method Details
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
init
public void init()- Specified by:
initin interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
register
public void register(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery) - Specified by:
registerin interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
unregister
public void unregister(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery) - Specified by:
unregisterin interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
setProperties
- Specified by:
setPropertiesin interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-