//-------------------------------------------------------------------------
@Override
public void init(ComponentRepository repo, LinkedHashMap<String, String> configuration) {
final LongPollingConnectionManager longPolling = buildLongPolling();
ChangeManager changeMgr = buildChangeManager();
MasterChangeManager masterChangeMgr = buildMasterChangeManager();
final ConnectionManagerImpl connectionMgr = new ConnectionManagerImpl(changeMgr, masterChangeMgr, longPolling);
AggregatorNamesResource aggregatorsResource = new AggregatorNamesResource(getPortfolioAggregationFunctions().getMappedFunctions().keySet());
MarketDataSnapshotListResource snapshotResource = new MarketDataSnapshotListResource(getMarketDataSnapshotMaster());
MasterConfigSource configSource = new MasterConfigSource(getConfigMaster());