Package com.buschmais.xo.impl.interceptor

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


        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

TOP

Related Classes of com.buschmais.xo.impl.interceptor.TransactionInterceptor

Copyright © 2018 www.massapicom. 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.