Package com.github.jmkgreen.morphia.mapping.lazy.proxy

Examples of com.github.jmkgreen.morphia.mapping.lazy.proxy.SerializableMapObjectReference


    public <T extends Map> T createMapProxy(final T mapToProxy,
                                            final Class referenceObjClass, final boolean ignoreMissing,
                                            final DatastoreProvider p) {
        Class<? extends Map> targetClass = mapToProxy.getClass();
        SerializableMapObjectReference objectReference = new SerializableMapObjectReference(
                mapToProxy, referenceObjClass, ignoreMissing, p);

        T backend = (T) new NonFinalizingHotSwappingInvoker(new Class[]{targetClass, Serializable.class}, factory,
                objectReference, DelegationMode.SIGNATURE).proxy();
        T proxy = (T) Dispatching.proxy(targetClass,
View Full Code Here

TOP

Related Classes of com.github.jmkgreen.morphia.mapping.lazy.proxy.SerializableMapObjectReference

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.