Adding the setter method to the factory to be able to overrid this field in spring config