* @see org.jboss.dna.graph.requests.processor.RequestProcessor#process(org.jboss.dna.graph.requests.ReadAllPropertiesRequest)
*/
@Override
public void process( ReadAllPropertiesRequest request ) {
Location locationInSource = projectIntoSource(request.at());
ReadAllPropertiesRequest projected = new ReadAllPropertiesRequest(locationInSource);
getConnection().execute(this.getExecutionContext(), projected);
if (projected.hasError()) {
projectError(projected, request.at(), request);
return;
}
for (Property property : projected.getProperties()) {
request.addProperty(property);
}
}