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 Details

    • NuxeoEhcacheTransactionManagerLookup

      public NuxeoEhcacheTransactionManagerLookup()
  • Method Details

    • getTransactionManager

      public javax.transaction.TransactionManager getTransactionManager()
      Specified by:
      getTransactionManager in interface net.sf.ehcache.transaction.manager.TransactionManagerLookup
    • init

      public void init()
      Specified by:
      init in interface net.sf.ehcache.transaction.manager.TransactionManagerLookup
    • register

      public void register(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
      Specified by:
      register in interface net.sf.ehcache.transaction.manager.TransactionManagerLookup
    • unregister

      public void unregister(net.sf.ehcache.transaction.xa.EhcacheXAResource resource, boolean forRecovery)
      Specified by:
      unregister in interface net.sf.ehcache.transaction.manager.TransactionManagerLookup
    • setProperties

      public void setProperties(Properties properties)
      Specified by:
      setProperties in interface net.sf.ehcache.transaction.manager.TransactionManagerLookup