Package org.hibernate.service.jta.platform.internal

Examples of org.hibernate.service.jta.platform.internal.SynchronizationRegistryAccess


    private final JtaSynchronizationStrategy synchronizationStrategy;
    private final JtaManager jtaManager;

    public JBossAppServerJtaPlatform(final JtaManager jtaManager) {
        this.jtaManager = jtaManager;
        this.synchronizationStrategy = new SynchronizationRegistryBasedSynchronizationStrategy(new SynchronizationRegistryAccess() {
            @Override
            public TransactionSynchronizationRegistry getSynchronizationRegistry() {
                return jtaManager.getSynchronizationRegistry();
            }
        });
View Full Code Here


    userTransaction = com.arjuna.ats.jta.UserTransaction.userTransaction();
    synchronizationRegistry =
        new com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple();

    synchronizationStrategy = new SynchronizationRegistryBasedSynchronizationStrategy(
        new SynchronizationRegistryAccess() {
          @Override
          public TransactionSynchronizationRegistry getSynchronizationRegistry() {
            return synchronizationRegistry;
          }
        }
View Full Code Here

    private final JtaSynchronizationStrategy synchronizationStrategy;
    private final JtaManager jtaManager;

    public JBossAppServerJtaPlatform(final JtaManager jtaManager) {
        this.jtaManager = jtaManager;
        this.synchronizationStrategy =  new SynchronizationRegistryBasedSynchronizationStrategy(new SynchronizationRegistryAccess() {
            @Override
            public TransactionSynchronizationRegistry getSynchronizationRegistry() {
                return jtaManager.getSynchronizationRegistry();
            }
        });
View Full Code Here

public class JBossAppServerJtaPlatform extends org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform {

    private final JtaSynchronizationStrategy synchronizationStrategy;

    public JBossAppServerJtaPlatform() {
        this.synchronizationStrategy =  new SynchronizationRegistryBasedSynchronizationStrategy(new SynchronizationRegistryAccess() {
            @Override
            public TransactionSynchronizationRegistry getSynchronizationRegistry() {
                return TransactionUtil.getTransactionSynchronizationRegistry();
            }
        });
View Full Code Here

TOP

Related Classes of org.hibernate.service.jta.platform.internal.SynchronizationRegistryAccess

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.