bean.setUserConfigMaster(getUserConfigMaster());
bean.setSnapshotMaster(getSnapshotMaster());
bean.setPortfolioAggregators(getPortfolioAggregationFunctions());
bean.setUser(getUser());
bean.setFudgeContext(getFudgeContext());
ExecutorServiceFactoryBean execBean = new ExecutorServiceFactoryBean();
execBean.setStyle(Style.CACHED);
bean.setExecutorService(execBean.getObjectCreating());
WebAnalyticsResource resource = new WebAnalyticsResource(bean);
repo.registerServletContextAware(resource);
repo.getRestComponents().publishResource(resource);
}