* @see org.jboss.dna.graph.requests.processor.RequestProcessor#process(org.jboss.dna.graph.requests.ReadAllChildrenRequest)
*/
@Override
public void process( ReadAllChildrenRequest request ) {
Location locationInSource = projectIntoSource(request.of());
ReadAllChildrenRequest projected = new ReadAllChildrenRequest(locationInSource);
getConnection().execute(this.getExecutionContext(), projected);
if (projected.hasError()) {
return;
}
for (Location child : projected.getChildren()) {
request.addChild(child);
}
}