Example usage for org.springframework.transaction.support TransactionSynchronization interface-usage

List of usage examples for org.springframework.transaction.support TransactionSynchronization interface-usage

Introduction

In this page you can find the example usage for org.springframework.transaction.support TransactionSynchronization interface-usage.

Usage

From source file org.drools.container.spring.beans.persistence.SpringTransactionSynchronizationAdapter.java

public class SpringTransactionSynchronizationAdapter implements TransactionSynchronization {
    private org.drools.persistence.TransactionSynchronization ts;

    public SpringTransactionSynchronizationAdapter(org.drools.persistence.TransactionSynchronization ts) {
        this.ts = ts;
    }

From source file org.logicblaze.lingo.cache.impl.SpringSynchronization.java

/**
 * A synchronization listener which hooks the {@link org.logicblaze.lingo.cache.ActiveCacheManager}
 * into the Spring transaction synchronization mechanism.
 * 
 * @version $Revision: 130 $
 */

From source file org.springframework.data.crossstore.ChangeSetBackedTransactionSynchronization.java

public class ChangeSetBackedTransactionSynchronization implements TransactionSynchronization {

    protected final Log log = LogFactory.getLog(getClass());

    private final ChangeSetPersister<Object> changeSetPersister;
    private final ChangeSetBacked entity;

From source file org.guzz.web.context.spring.SpringSessionSynchronization.java

/**
 * Callback for resource cleanup at the end of a Spring-managed JTA transaction,
 * that is, when participating in a JtaTransactionManager transaction.
 *
 * @author liukaixuan(liukaixuan@gmail.com)
 * @see TransactionManagerUtils

From source file org.csc.phynixx.spring.jta.JtaConnectionHolderSynchronization.java

@Named
@Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
final class JtaConnectionHolderSynchronization<H extends ResourceHolder, K>
        extends ResourceHolderSynchronization<H, K> implements TransactionSynchronization {

    public JtaConnectionHolderSynchronization(H resourceHolder, K resourceKey) {

From source file org.grails.datastore.mapping.transactions.support.SpringSessionSynchronization.java

/**
 * An instance of {@link org.springframework.transaction.support.TransactionSynchronization}
 * for the Datastore abstraction. Based on similar work for Hibernate
 *
 * @author Juergen Hoeller
 * @author Graeme Rocher

From source file org.motechproject.server.omod.sdsched.ScheduleMaintSynchronization.java

/**
 * A transaction synchronization that handles tidying up patient schedules after
 * a transaction. It simply inspects the set of affected patients and executes
 * an adjustment routine to patch-up the affected patient schedule.
 * 
 * @author batkinson