repo.getRestComponents().publishResource(new WebHomeResource());
repo.getRestComponents().publishResource(new WebAboutResource());
}
protected void initMasters(ComponentRepository repo) {
JerseyRestResourceFactory resource;
resource = new JerseyRestResourceFactory(WebConfigsResource.class, getConfigMaster());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebExchangesResource.class, getExchangeMaster());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebHolidaysResource.class, getHolidayMaster());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebRegionsResource.class, getRegionMaster());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebSecuritiesResource.class, getSecurityMaster(), getSecurityLoader(), getHistoricalTimeSeriesMaster(), getOrganizationMaster());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebPositionsResource.class, getPositionMaster(), getSecurityLoader(), getSecuritySource(), getHistoricalTimeSeriesSource());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebPortfoliosResource.class, getPortfolioMaster(), getPositionMaster(), getSecuritySource(), getScheduler());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebAllHistoricalTimeSeriesResource.class, getHistoricalTimeSeriesMaster(), getHistoricalTimeSeriesLoader(), new MasterConfigSource(getConfigMaster()));
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebComputationTargetTypeResource.class, getTargetTypes());
repo.getRestComponents().publishResource(resource);
resource = new JerseyRestResourceFactory(WebOrganizationsResource.class, getOrganizationMaster());
repo.getRestComponents().publishResource(resource);
}