Package org.apache.isis.core.runtime.persistence.adaptermanager

Examples of org.apache.isis.core.runtime.persistence.adaptermanager.PojoRecreatorUnified


        if (LOG.isDebugEnabled()) {
            LOG.debug("installing " + this.getClass().getName());
        }

        ObjectAdapterFactory adapterFactory = persistenceSessionFactory.getAdapterFactory();
        PojoRecreator pojoRecreator = new PojoRecreatorUnified(getConfiguration());
        ServicesInjectorSpi servicesInjector = persistenceSessionFactory.getServicesInjector();
       
        final AdapterManagerDefault adapterManager = new AdapterManagerDefault(pojoRecreator);
       
        ObjectStoreSpi objectStore = createObjectStore(getConfiguration(), adapterFactory, adapterManager);
View Full Code Here


        runtimeContext.injectInto(container);

        servicesInjector = new ServicesInjectorDefault(new InjectorMethodEvaluatorDefault());

        adapterManager = new AdapterManagerDefault(new PojoRecreatorUnified(mockConfiguration));
        adapterFactory = new PojoAdapterFactory();
        persistenceSession = new PersistenceSession(mockPersistenceSessionFactory, adapterFactory, servicesInjector, new OidGenerator(new IdentifierGeneratorDefault()), adapterManager, mockObjectStore, mockConfiguration) {
            @Override
            protected SpecificationLoaderSpi getSpecificationLoader() {
                return isisMetaModel.getSpecificationLoader();
View Full Code Here

TOP

Related Classes of org.apache.isis.core.runtime.persistence.adaptermanager.PojoRecreatorUnified

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.