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 Constructor Description NuxeoEhcacheTransactionManagerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.transaction.TransactionManager
getTransactionManager()
void
init()
void
register(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
void
setProperties(Properties properties)
void
unregister(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
-
-
-
Method Detail
-
getTransactionManager
public javax.transaction.TransactionManager getTransactionManager()
- Specified by:
getTransactionManager
in interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
init
public void init()
- Specified by:
init
in interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
register
public void register(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
- Specified by:
register
in interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
unregister
public void unregister(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
- Specified by:
unregister
in interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
setProperties
public void setProperties(Properties properties)
- Specified by:
setProperties
in interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-
-