/** * INTERNAL: * An object has been serialized from the server to the remote client. * Replace the transient attributes of the remote value holders * with client-side objects. */ public void fixObjectReferences(Object object, Map objectDescriptors, Map processedObjects, ObjectLevelReadQuery query, RemoteSession session) { Object attributeValue = getAttributeValueFromObject(object); fixAttributeValue(attributeValue, objectDescriptors, processedObjects, query, session); }
/** * INTERNAL: * An object has been serialized from the server to the remote client. * Replace the transient attributes of the remote value holders * with client-side objects. */ public void fixObjectReferences(Object object, Map objectDescriptors, Map processedObjects, ObjectLevelReadQuery query, DistributedSession session) { Object attributeValue = getAttributeValueFromObject(object); fixAttributeValue(attributeValue, objectDescriptors, processedObjects, query, session); }
/** * INTERNAL: * An object has been serialized from the server to the remote client. * Replace the transient attributes of the remote value holders * with client-side objects. */ public void fixObjectReferences(Object object, Map objectDescriptors, Map processedObjects, ObjectLevelReadQuery query, DistributedSession session) { Object attributeValue = getAttributeValueFromObject(object); fixAttributeValue(attributeValue, objectDescriptors, processedObjects, query, session); }
/** * An object has been serialized from the server to the remote client. * Replace the transient attributes of the remote value holders * with client-side objects. */ protected void fixAttributeValue(Object attributeValue, Map objectDescriptors, Map processedObjects, ObjectLevelReadQuery query, RemoteSession session) { if (attributeValue == null) { return; } ContainerPolicy cp = this.getContainerPolicy(); for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) { super.fixAttributeValue(cp.next(iter, session), objectDescriptors, processedObjects, query, session); } }
/** * An object has been serialized from the server to the remote client. * Replace the transient attributes of the remote value holders * with client-side objects. */ @Override protected void fixAttributeValue(Object attributeValue, Map objectDescriptors, Map processedObjects, ObjectLevelReadQuery query, DistributedSession session) { if (attributeValue == null) { return; } ContainerPolicy cp = this.getContainerPolicy(); for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) { super.fixAttributeValue(cp.next(iter, session), objectDescriptors, processedObjects, query, session); } }
/** * An object has been serialized from the server to the remote client. * Replace the transient attributes of the remote value holders * with client-side objects. */ @Override protected void fixAttributeValue(Object attributeValue, Map objectDescriptors, Map processedObjects, ObjectLevelReadQuery query, DistributedSession session) { if (attributeValue == null) { return; } ContainerPolicy cp = this.getContainerPolicy(); for (Object iter = cp.iteratorFor(attributeValue); cp.hasNext(iter);) { super.fixAttributeValue(cp.next(iter, session), objectDescriptors, processedObjects, query, session); } }