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();
}
});