xml bean factory optimazed