Package org.apache.geronimo.connector.outbound

Examples of org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor


    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LogXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionContextManager transactionContextManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionContextManager);
        return new TransactionCachingInterceptor(stack, transactionContextManager);
    }
View Full Code Here


        //experimental thread local caching
        if (isUseThreadCaching()) {
            //useMatching should be configurable
            stack = new ThreadLocalCachingConnectionInterceptor(stack, false);
        }
        stack = new TransactionEnlistingInterceptor(stack, transactionContextManager);
        if (isUseTransactionCaching()) {
            stack = new TransactionCachingInterceptor(stack, transactionContextManager);
        }
        return stack;
    }
View Full Code Here

    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LocalXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionContextManager transactionContextManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionContextManager);
        return new TransactionCachingInterceptor(stack, transactionContextManager);
    }
View Full Code Here

        //experimental thread local caching
        if (isUseThreadCaching()) {
            //useMatching should be configurable
            stack = new ThreadLocalCachingConnectionInterceptor(stack, false);
        }
        stack = new TransactionEnlistingInterceptor(stack, transactionContextManager);
        if (isUseTransactionCaching()) {
            stack = new TransactionCachingInterceptor(stack, transactionContextManager);
        }
        return stack;
    }
View Full Code Here

    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LocalXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionContextManager transactionContextManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionContextManager);
        return new TransactionCachingInterceptor(stack, transactionContextManager);
    }
View Full Code Here

    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LogXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionContextManager transactionContextManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionContextManager);
        return new TransactionCachingInterceptor(stack, transactionContextManager);
    }
View Full Code Here

    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LogXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionManager transactionManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionManager);
        return new TransactionCachingInterceptor(stack, transactionManager);
    }
View Full Code Here

        //experimental thread local caching
        if (isUseThreadCaching()) {
            //useMatching should be configurable
            stack = new ThreadLocalCachingConnectionInterceptor(stack, false);
        }
        stack = new TransactionEnlistingInterceptor(stack, transactionManager);
        if (isUseTransactionCaching()) {
            stack = new TransactionCachingInterceptor(stack, transactionManager);
        }
        return stack;
    }
View Full Code Here

    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LocalXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionManager transactionManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionManager);
        return new TransactionCachingInterceptor(stack, transactionManager);
    }
View Full Code Here

    public ConnectionInterceptor addXAResourceInsertionInterceptor(ConnectionInterceptor stack, String name) {
        return new LogXAResourceInsertionInterceptor(stack, name);
    }

    public ConnectionInterceptor addTransactionInterceptors(ConnectionInterceptor stack, TransactionManager transactionManager) {
        stack = new TransactionEnlistingInterceptor(stack, transactionManager);
        return new TransactionCachingInterceptor(stack, transactionManager);
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor

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.