I'm a newbie to spring and wonder how java based configs can be converted to xml based bean configs. I know that annotation based configs are more used now a days. But my requirement is to use xml based configs. Bean configuration is added below.
@Bean DataStoreWriter<String> dataStoreWriter(org.apache.hadoop.conf.Configuration hadoopConfiguration) { TextFileWriter writer = new TextFileWriter(hadoopConfiguration, new Path(basePath), null); return writer;