Example usage for javax.transaction Synchronization interface-usage

List of usage examples for javax.transaction Synchronization interface-usage

Introduction

In this page you can find the example usage for javax.transaction Synchronization interface-usage.

Usage

From source file org.eclipse.ecr.core.api.TransactionalCoreSessionWrapper.java

/**
 * Wrapper around a CoreSession that gives it transactional behavior.
 * <p>
 * Transactional behavior:
 * <ul>
 * <li>notifies the event service on transaction start/stop</li>

From source file org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.java

/**
 * Wrapper around a CoreSession that gives it transactional behavior.
 * <p>
 * Transactional behavior:
 * <ul>
 * <li>notifies the event service on transaction start/stop</li>

From source file org.springframework.transaction.jta.SpringJtaSynchronizationAdapter.java

/**
 * Adapter that implements the JTA {@link javax.transaction.Synchronization}
 * interface delegating to an underlying Spring
 * {@link org.springframework.transaction.support.TransactionSynchronization}.
 *
 * <p>Useful for synchronizing Spring resource management code with plain

From source file org.nuxeo.ecm.core.api.local.LocalSession.java

/**
 * Local Session: implementation of {@link CoreSession} beyond
 * {@link AbstractSession}, dealing with low-level stuff.
 */
public class LocalSession extends AbstractSession implements Synchronization {

From source file org.nuxeo.elasticsearch.listener.ElasticSearchInlineListener.java

/**
 * Synchronous Event listener used to record indexing command, submitted after commit completion.
 */
public class ElasticSearchInlineListener extends IndexingCommandsStacker implements EventListener, Synchronization {

    private static final Log log = LogFactory.getLog(ElasticSearchInlineListener.class);

From source file org.exolab.castor.jdo.engine.GlobalDatabaseImpl.java

/**
 * An implementation of the JDO database supporting explicit transaction
 * demarcation.
 *
 * @author <a href="werner DOT guttmann AT gmx DOT net">Werner Guttmann</a>
 * @version $Revision$ $Date$

From source file org.nuxeo.ecm.core.management.jtajca.internal.DefaultTransactionMonitor.java

/**
 * @author matic
 *
 */
public class DefaultTransactionMonitor implements TransactionManagerMonitor, TransactionMonitor, Synchronization {

From source file org.nuxeo.ecm.core.event.impl.EventServiceImpl.java

/**
 * Implementation of the event service.
 */
public class EventServiceImpl implements EventService, EventServiceAdmin, Synchronization {

    public static final VMID VMID = new VMID();