// A derived class can alter how the calalog locator object is
// created.
CatalogLocator catalogLocator = makeCatalogLocator(servletConfig);
String dataSources = makeDataSourcesUrl(servletConfig);
RepositoryContentFinder contentFinder =
makeContentFinder(dataSources);
server =
MondrianServer.createWithRepository(
contentFinder, catalogLocator);
}