I am trying to write a live data server like the “Simulated live market data” source.
Here i got a grasp of the rest of the things but one.
How is the string “Simulated live market data” mapped to the class "SimulatedMarketDataGenerator"
I went through the file ExampleMarketDataComponentFactory.java to see that 2 different components LiveMarketDataProviderFactory and NamedMarketDataSpecificationRepository are registered independently in 2 functions.
Here in first function , MarketDataProviderFactory component is registered
and in second “Simulated live market data” is mapped to an instance of LiveMarketDataSpecification which is in no way is connected to SimulatedMarketDataGenerator.
It will help me a lot if someone can help to understand the mechanism by which both these are connected or mapped.