if (connectionQueryServices != null) { return connectionQueryServices; }
ConnectionInfo connInfo = ConnectionInfo.create(url);
if (connInfo.isConnectionless()) {
connectionQueryServices = new ConnectionlessQueryServicesImpl(queryServices, connInfo);
} else {
connectionQueryServices = new ConnectionQueryServicesTestImpl(queryServices, connInfo);
}
connectionQueryServices.init(url, info);
return connectionQueryServices;
}