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

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


    }

    public <T> T createProxy(final Class<T> targetClass, final Key<T> key,
                             final DatastoreProvider p) {

        SerializableEntityObjectReference objectReference = new SerializableEntityObjectReference(
                targetClass, p, key);

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

TOP

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

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.