Package org.mongodb.morphia.mapping.lazy.proxy

Examples of org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference


  }

  public <T extends Collection> T createListProxy(final T listToProxy, final Class referenceObjClass, final boolean ignoreMissing,
    final DatastoreProvider p) {
    final Class<? extends Collection> targetClass = listToProxy.getClass();
    final SerializableCollectionObjectReference objectReference = new SerializableCollectionObjectReference(listToProxy, referenceObjClass,
      ignoreMissing, p);

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

TOP

Related Classes of org.mongodb.morphia.mapping.lazy.proxy.SerializableCollectionObjectReference

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.