Package org.apache.isis.runtimes.dflt.remoting.common.client.persistence

Examples of org.apache.isis.runtimes.dflt.remoting.common.client.persistence.ClientSideTransactionManager


        servicesInjector.setContainer(container);

        persistenceSessionProxy = new PersistenceSessionProxy(mockPersistenceSessionFactory, adapterFactory, objectFactory, servicesInjector, oidGenerator, adapterManager, mockDistribution, mockEncoder);

        persistenceSessionProxy.setSpecificationLoader(system.getReflector());
        transactionManager = new ClientSideTransactionManager(adapterManager, persistenceSessionProxy, mockDistribution, mockEncoder);
        transactionManager.injectInto(persistenceSessionProxy);

        session = IsisContext.getAuthenticationSession();

        system.setPersistenceSession(persistenceSessionProxy);
View Full Code Here


     *
     * <p>
     * Called from {@link #createPersistenceSession(PersistenceSessionFactory)}.
     */
    protected IsisTransactionManager createTransactionManager(final IsisConfiguration configuration, final AdapterManagerProxy adapterManager, final PersistenceSessionTransactionManagement transactionManagement) {
        return new ClientSideTransactionManager(adapterManager, transactionManagement, getServerFacade(), getEncoderDecoder());
    }
View Full Code Here

     * <p>
     * Called from {@link #createPersistenceSession(PersistenceSessionFactory)}.
     */
    protected IsisTransactionManager createTransactionManager(final IsisConfiguration configuration,
        final AdapterManagerProxy adapterManager, final PersistenceSessionTransactionManagement transactionManagement) {
        return new ClientSideTransactionManager(adapterManager, transactionManagement, getServerFacade(),
            getEncoderDecoder());
    }
View Full Code Here

            new PersistenceSessionProxy(mockPersistenceSessionFactory, adapterFactory, objectFactory, servicesInjector,
                oidGenerator, adapterManager, mockDistribution, mockEncoder);

        persistenceSessionProxy.setSpecificationLoader(system.getReflector());
        transactionManager =
            new ClientSideTransactionManager(adapterManager, persistenceSessionProxy, mockDistribution, mockEncoder);
        transactionManager.injectInto(persistenceSessionProxy);

        session = IsisContext.getAuthenticationSession();

        system.setPersistenceSession(persistenceSessionProxy);
View Full Code Here

TOP

Related Classes of org.apache.isis.runtimes.dflt.remoting.common.client.persistence.ClientSideTransactionManager

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.