Make the spring context of the d1_index_processor daemon more configurable
In the IndexTaskProcessorDaemon class, which is the start point of d1-indexx-processor, the context is initialized from a file in the class path:
context = new ClassPathXmlApplicationContext("processor-daemon-context.xml");
The file, processor-daemon-context.xml, imports all the index sub-processor application files. This make very hard for us to add a new sub-processor since we have to rebuild a new jar file in order to include a new file. Instead, if we use the
FileSystemXmlApplicationContext class and read the file path from a properties file, we can get more flexibility.