Class WebSphereLibertyTmFactory

  • All Implemented Interfaces:
    Serializable, javax.cache.configuration.Factory<javax.transaction.TransactionManager>

    public class WebSphereLibertyTmFactory
    extends Object
    implements javax.cache.configuration.Factory<javax.transaction.TransactionManager>
    Implementation of Transaction Manager factory that should used within WebSphere Liberty.

    Java Configuration

     IgniteConfiguration cfg = new IgniteConfiguration();
    
     TransactionConfiguration txCfg = new TransactionConfiguration();
    
     txCfg.setTxManagerFactory(new WebSphereLibertyTmFactory());
    
     cfg.setTransactionConfiguration(new txCfg);
     

    Spring Configuration

     <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration">
             ...
             <property name="transactionConfiguration">
                 <bean class="org.apache.ignite.cache.jta.websphere.WebSphereLibertyTmFactory"/>
             </property>
             ...
     </bean>
     


    For information about Spring framework visit www.springframework.org*

    See Also:
    Serialized Form
    • Constructor Detail

      • WebSphereLibertyTmFactory

        public WebSphereLibertyTmFactory()
    • Method Detail

      • create

        public javax.transaction.TransactionManager create()
        Specified by:
        create in interface javax.cache.configuration.Factory<javax.transaction.TransactionManager>