}
// check if the authority overrides the LOOKUP pipeline. if not, use the default.
ServerConfig serverConfig = ServerConfigFactory.getSingleton();
PipelineRegistry pipelineRegistry = (serverConfig == null) ? null : serverConfig.getPipelineRegistry();
Pipeline lookupPipeline = null;
if (this.store instanceof StoreAttributable) {
StoreAttributable storeAttributable = (StoreAttributable) this.store;
String pipelineName = storeAttributable.getAuthorityAttributes(authority).get(Pipeline.ATTRIBUTE_OVERRIDE_LOOKUP_PIPELINE);
if (pipelineRegistry != null && pipelineName != null) lookupPipeline = pipelineRegistry.getPipelineByName(pipelineName);
}
if (pipelineRegistry != null && lookupPipeline == null) lookupPipeline = pipelineRegistry.getDefaultLookupPipeline();
// execute LOOKUP pipeline
xrd = lookupPipeline.execute(
this.store,