Class 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 Detail

      • NuxeoEhcacheTransactionManagerLookup

        public NuxeoEhcacheTransactionManagerLookup()
    • Method Detail

      • 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