Examples of TransactionInterceptor


Examples of com.buschmais.xo.impl.interceptor.TransactionInterceptor

        this.entityCache = new TransactionalCache<>();
        this.relationCache = new TransactionalCache<>();
        this.xoTransaction = new XOTransactionImpl(datastoreSession.getDatastoreTransaction());
        List<XOInterceptor> interceptorChain = new ArrayList<>();
        interceptorChain.add(new ConcurrencyInterceptor(concurrencyMode));
        interceptorChain.add(new TransactionInterceptor(xoTransaction, defaultTransactionAttribute));
        this.interceptorFactory = new InterceptorFactory(interceptorChain);
        this.proxyFactory = new ProxyFactory(interceptorFactory, classLoader);
        this.instanceListenerService = new InstanceListenerService(instanceListenerTypes);
        this.entityPropertyManager = new EntityPropertyManager<>(this);
        this.relationPropertyManager = new RelationPropertyManager<>(this);
View Full Code Here

Examples of com.buschmais.xo.impl.interceptor.TransactionInterceptor

        this.relationCache = new TransactionalCache<>();
        DatastoreTransaction datastoreTransaction = datastoreSession.getDatastoreTransaction();
        this.xoTransaction = datastoreTransaction != null ? new XOTransactionImpl(datastoreTransaction) : null;
        List<XOInterceptor> interceptorChain = new ArrayList<>();
        interceptorChain.add(new ConcurrencyInterceptor(concurrencyMode));
        interceptorChain.add(new TransactionInterceptor(xoTransaction, defaultTransactionAttribute));
        this.interceptorFactory = new InterceptorFactory(interceptorChain);
        this.proxyFactory = new ProxyFactory(interceptorFactory, classLoader);
        this.instanceListenerService = new InstanceListenerService(instanceListenerTypes);
        this.entityPropertyManager = new EntityPropertyManager<>(this);
        this.relationPropertyManager = new RelationPropertyManager<>(this);
View Full Code Here

Examples of org.apache.camel.spring.spi.TransactionInterceptor

*/
public abstract class SpringRouteBuilder extends RouteBuilder {
    private ApplicationContext applicationContext;

    public TransactionInterceptor transactionInterceptor() {
        return new TransactionInterceptor(bean(TransactionTemplate.class));
    }
View Full Code Here

Examples of org.apache.camel.spring.spi.TransactionInterceptor

*/
public abstract class SpringRouteBuilder extends RouteBuilder {
    private ApplicationContext applicationContext;

    public TransactionInterceptor transactionInterceptor() {
        return new TransactionInterceptor(bean(TransactionTemplate.class));
    }
View Full Code Here

Examples of org.apache.camel.spring.spi.TransactionInterceptor

*/
public abstract class SpringRouteBuilder extends RouteBuilder {
    private ApplicationContext applicationContext;

    public TransactionInterceptor transactionInterceptor() {
        return new TransactionInterceptor(bean(TransactionTemplate.class));
    }
View Full Code Here

Examples of org.apache.camel.spring.spi.TransactionInterceptor

*/
public abstract class SpringRouteBuilder extends RouteBuilder implements ApplicationContextAware {
    private ApplicationContext applicationContext;

    public TransactionInterceptor transactionInterceptor() {
        return new TransactionInterceptor(bean(TransactionTemplate.class));
    }
View Full Code Here

Examples of org.apache.camel.spring.spi.TransactionInterceptor

*/
public abstract class SpringRouteBuilder extends RouteBuilder implements ApplicationContextAware {
    private ApplicationContext applicationContext;

    public TransactionInterceptor transactionInterceptor() {
        return new TransactionInterceptor(bean(TransactionTemplate.class));
    }
View Full Code Here

Examples of org.jboss.seam.interceptors.TransactionInterceptor

      {
         addInterceptor( new Interceptor( new RollbackInterceptor(), this ) );
      }
      if ( getType()==JAVA_BEAN && beanClassHasAnnotation(Transactional.class))
      {
         addInterceptor( new Interceptor( new TransactionInterceptor(), this ) );
      }
      if ( getScope()==CONVERSATION )
      {
         addInterceptor( new Interceptor( new ManagedEntityIdentityInterceptor(), this ) );
      }
View Full Code Here

Examples of org.jboss.seam.transaction.TransactionInterceptor

         addInterceptor( new Interceptor( new BijectionInterceptor(), this ) );
      }
      addInterceptor( new Interceptor( new RollbackInterceptor(), this ) );
      if ( getType()==JAVA_BEAN && beanClassHasAnnotation(Transactional.class))
      {
         addInterceptor( new Interceptor( new TransactionInterceptor(), this ) );
      }
      if ( getScope()==CONVERSATION )
      {
         addInterceptor( new Interceptor( new ManagedEntityIdentityInterceptor(), this ) );
      }
View Full Code Here

Examples of org.jboss.seam.transaction.TransactionInterceptor

         addInterceptor( new Interceptor( new BijectionInterceptor(), this ) );
      }
      addInterceptor( new Interceptor( new RollbackInterceptor(), this ) );
      if ( getType()==JAVA_BEAN && beanClassHasAnnotation(Transactional.class))
      {
         addInterceptor( new Interceptor( new TransactionInterceptor(), this ) );
      }
      if ( getScope()==CONVERSATION )
      {
         addInterceptor( new Interceptor( new ManagedEntityIdentityInterceptor(), this ) );
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.