Examples of XidFactoryImpl


Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

        super();
    }

    public void start() {
        try {
            XidFactory xidFactory = new XidFactoryImpl();
            howlLog =
                new HOWLLog(bufferClassName, bufferSizeKBytes, checksumEnabled, adler32Checksum,
                            flushSleepTimeMilliseconds, logFileDir, logFileExt, logFileName, maxBlocksPerFile,
                            maxBuffers, maxLogFiles, minBuffers, threadsWaitingForceThreshold, xidFactory,
                            serverBaseDir);
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

        if (transactionLog == null) {
            transactionLog = new UnrecoverableLog();
            createdTransactionLog = true;
        }
        if (xidFactory == null) {
            xidFactory = new XidFactoryImpl();
        }
    }
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

                    maxBlocksPerFile,
                    maxBuffers,
                    maxLogFiles,
                    minBuffers,
                    threadsWaitingForceThreshold,
                    xidFactory != null ? xidFactory : new XidFactoryImpl(),
                    serverBaseDir);

            howlLog.doStart();
        }
        return howlLog;
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

        ((HOWLLog) transactionLog).doStop();
    }


    protected TransactionLog createTransactionLog() throws Exception {
        XidFactory xidFactory = new XidFactoryImpl();
        HOWLLog howlLog = new HOWLLog(
                "org.objectweb.howl.log.BlockLogBuffer", //                "bufferClassName",
                4, //                "bufferSizeKBytes",
                true, //                "checksumEnabled",
                true, //                "adler32Checksum",
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

    private TransactionCachingInterceptor transactionCachingInterceptor;

    protected void setUp() throws Exception {
        super.setUp();
        transactionManager = new TransactionManagerImpl(10 * 1000,
                new XidFactoryImpl("WHAT DO WE CALL IT?".getBytes()), null, null);
        transactionContextManager = new TransactionContextManager(transactionManager, transactionManager);
        transactionCachingInterceptor = new TransactionCachingInterceptor(this, transactionContextManager);
    }
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

    private ClassLoader classLoader = this.getClass().getClassLoader();

    protected void setUp() throws Exception {
        connectionTrackingCoordinator = new ConnectionTrackingCoordinator();
        TransactionManagerImpl transactionManager = new TransactionManagerImpl(10 * 1000,
                new XidFactoryImpl("WHAT DO WE CALL IT?".getBytes()), null, null);
        transactionContextManager = new TransactionContextManager(transactionManager, transactionManager);
        mockManagedConnectionFactory = new MockManagedConnectionFactory();
        subject = new Subject();
        ContextManager.setCallers(subject, subject);
        connectionManagerDeployment = new GenericConnectionManager(
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

* */
public class TransactionalThreadPooledTimerTest extends AbstractThreadPooledTimerTest {

    protected void setUp() throws Exception {
        TransactionManagerImpl transactionManager = new TransactionManagerImpl(10 * 1000,
                new XidFactoryImpl("WHAT DO WE CALL IT?".getBytes()), null, null);
        transactionContextManager = new TransactionContextManager(transactionManager, transactionManager);
        executableWorkFactory = new TransactionalExecutorTaskFactory(transactionContextManager, 1);
        super.setUp();
    }
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

* */
public class NontransactionalThreadPooledTimerTest extends AbstractThreadPooledTimerTest {

    protected void setUp() throws Exception {
        TransactionManagerImpl transactionManager = new TransactionManagerImpl(10 * 1000,
                new XidFactoryImpl("WHAT DO WE CALL IT?".getBytes()), null, null);
        transactionContextManager = new TransactionContextManager(transactionManager, transactionManager);
        executableWorkFactory = new NontransactionalExecutorTaskFactory(transactionContextManager);
        super.setUp();
    }
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

    private TransactionContextManager transactionContextManager;

    protected void setUp() throws Exception {
        super.setUp();
        TransactionManagerImpl transactionManager = new TransactionManagerImpl(10 * 1000,
                new XidFactoryImpl("WHAT DO WE CALL IT?".getBytes()), null, null);
        transactionContextManager = new TransactionContextManager(transactionManager, transactionManager);
        transactionEnlistingInterceptor = new TransactionEnlistingInterceptor(this, transactionContextManager);
    }
View Full Code Here

Examples of org.apache.geronimo.transaction.manager.XidFactoryImpl

        ((HOWLLog) transactionLog).doStop();
    }


    protected TransactionLog createTransactionLog() throws Exception {
        XidFactory xidFactory = new XidFactoryImpl();
        HOWLLog howlLog = new HOWLLog(
                "org.objectweb.howl.log.BlockLogBuffer", //                "bufferClassName",
                4, //                "bufferSizeKBytes",
                true, //                "checksumEnabled",
                20, //                "flushSleepTime",
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.