/** * Traverse the specified object, replacing the standard * value holders with remote value holders. * Add the resulting object descriptors to the * "collecting parm". */ public void replaceValueHoldersIn(Object object, Map objectDescriptors) { if (object == null) { return; } DescriptorIterator iterator = new ReplaceValueHoldersIterator(this); iterator.setResult(objectDescriptors); iterator.setSession(getExecutionSession()); iterator.setShouldIterateOnIndirectionObjects(true);// process the value holders themselves iterator.setShouldIterateOverIndirectionObjects(false);// but don't go beyond them iterator.startIterationOn(object); }
/** * Traverse the specified object, replacing the standard * value holders with remote value holders. * Add the resulting object descriptors to the * "collecting parm". */ public void replaceValueHoldersIn(Object object, Map objectDescriptors) { if (object == null) { return; } DescriptorIterator iterator = new ReplaceValueHoldersIterator(this); iterator.setResult(objectDescriptors); iterator.setSession(getExecutionSession()); iterator.setShouldIterateOnIndirectionObjects(true);// process the value holders themselves iterator.setShouldIterateOverIndirectionObjects(false);// but don't go beyond them iterator.startIterationOn(object); }
/** * Traverse the specified object, replacing the standard * value holders with remote value holders. * Add the resulting object descriptors to the * "collecting parm". */ public void replaceValueHoldersIn(Object object, Map objectDescriptors) { if (object == null) { return; } DescriptorIterator iterator = new ReplaceValueHoldersIterator(this); iterator.setResult(objectDescriptors); iterator.setSession(getSession()); iterator.setShouldIterateOnIndirectionObjects(true);// process the value holders themselves iterator.setShouldIterateOverIndirectionObjects(false);// but don't go beyond them iterator.startIterationOn(object); }