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
-
Method Summary
Modifier and TypeMethodDescriptionjavax.transaction.TransactionManager
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)
-
Constructor Details
-
NuxeoEhcacheTransactionManagerLookup
public NuxeoEhcacheTransactionManagerLookup()
-
-
Method Details
-
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
- Specified by:
setProperties
in interfacenet.sf.ehcache.transaction.manager.TransactionManagerLookup
-