List of usage examples for org.hibernate.engine.transaction.jta.platform.internal SynchronizationRegistryAccess SynchronizationRegistryAccess
SynchronizationRegistryAccess
From source file:org.jboss.as.jpa.hibernate4.JBossAppServerJtaPlatform.java
License:Open Source License
public JBossAppServerJtaPlatform(final JtaManager jtaManager) { this.jtaManager = jtaManager; this.synchronizationStrategy = new SynchronizationRegistryBasedSynchronizationStrategy( new SynchronizationRegistryAccess() { @Override/*w w w. java 2 s .com*/ public TransactionSynchronizationRegistry getSynchronizationRegistry() { return jtaManager.getSynchronizationRegistry(); } }); }